Skip to content

Commit 204d3f2

Browse files
committed
Remove redundant bracket.
Created using spr 1.3.6
1 parent a0f59ec commit 204d3f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Support/SpecialCaseList.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ Error SpecialCaseList::Matcher::insert(StringRef Pattern, unsigned LineNumber,
6666
}
6767

6868
unsigned SpecialCaseList::Matcher::match(StringRef Query) const {
69-
for (const auto &Glob : Globs) {
69+
for (const auto &Glob : Globs)
7070
if (Glob->Pattern.match(Query))
7171
return Glob->LineNo;
72-
}
7372
for (const auto &[Regex, LineNumber] : RegExes)
7473
if (Regex->match(Query))
7574
return LineNumber;

0 commit comments

Comments
 (0)