File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments