Skip to content

Commit d24d781

Browse files
committed
[lit][NFC] Remove double space after full stop/period
1 parent f9e64ae commit d24d781

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

llvm/utils/lit/lit/llvm/subst.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def __init__(self, name):
1212
self.name = name
1313

1414
def resolve(self, config, dirs):
15-
# Check for a user explicitly overriding a tool. This allows:
15+
# Check for a user explicitly overriding a tool. This allows:
1616
# llvm-lit -D llc="llc -enable-misched -verify-machineinstrs"
1717
command = config.lit_config.params.get(self.name)
1818
if command is None:
@@ -49,9 +49,9 @@ def __init__(
4949
5050
key: The text which is to be substituted.
5151
52-
command: The command to substitute when the key is matched. By default,
53-
this will treat `key` as a tool name and search for it. If it is
54-
a string, it is interpreted as an exact path. If it is an instance of
52+
command: The command to substitute when the key is matched. By default,
53+
this will treat `key` as a tool name and search for it. If it is a
54+
string, it is interpreted as an exact path. If it is an instance of
5555
FindTool, the specified tool name is searched for on disk.
5656
5757
pre: If specified, the substitution will not find matches where
@@ -66,7 +66,7 @@ def __init__(
6666
underlying substitution
6767
6868
unresolved: Action to take if the tool substitution cannot be
69-
resolved. Valid values:
69+
resolved. Valid values:
7070
'warn' - log a warning but add the substitution anyway.
7171
'fatal' - Exit the test suite and log a fatal error.
7272
'break' - Don't add any of the substitutions from the current
@@ -104,10 +104,9 @@ def wordify(word):
104104
self.regex = not_in(pre, "<") + wordify(key) + not_in(post)
105105

106106
def resolve(self, config, search_dirs):
107-
# Extract the tool name from the pattern. This relies on the tool
108-
# name being surrounded by \b word match operators. If the
109-
# pattern starts with "| ", include it in the string to be
110-
# substituted.
107+
# Extract the tool name from the pattern. This relies on the tool name
108+
# being surrounded by \b word match operators. If the pattern starts
109+
# with "| ", include it in the string to be substituted.
111110

112111
tool_match = expr.match(self.regex)
113112
if not tool_match:

0 commit comments

Comments
 (0)