Skip to content

Commit 1dd6916

Browse files
committed
format
1 parent 1419c89 commit 1dd6916

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

flang/lib/Parser/openmp-parsers.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ struct OmpDirectiveNameParser {
126126
using NameWithId = std::pair<std::string, llvm::omp::Directive>;
127127
using ConstIterator = std::vector<NameWithId>::const_iterator;
128128

129-
llvm::iterator_range<ConstIterator>
130-
directives_starting_with(char initial) const;
129+
llvm::iterator_range<ConstIterator> directives_starting_with(
130+
char initial) const;
131131
void initTokens(std::vector<NameWithId>[]) const;
132132
};
133133

@@ -161,9 +161,8 @@ void OmpDirectiveNameParser::initTokens(std::vector<NameWithId> table[]) const {
161161
// order. This is to make sure that longer names are tried first, before
162162
// any potential prefix (e.g. "target update" before "target").
163163
for (int initial{'a'}; initial != 'z' + 1; ++initial) {
164-
llvm::stable_sort(table[initial - 'a'], [](auto &a, auto &b) {
165-
return a.first.size() > b.first.size();
166-
});
164+
llvm::stable_sort(table[initial - 'a'],
165+
[](auto &a, auto &b) { return a.first.size() > b.first.size(); });
167166
}
168167
}
169168

0 commit comments

Comments
 (0)