We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8936c49 commit 7662d22Copy full SHA for 7662d22
llvm/include/llvm/TableGen/DirectiveEmitter.h
@@ -176,10 +176,9 @@ class BaseRecord {
176
// since it will remain unchanged when any potential new spellings
177
// are added.
178
Spelling::Value Oldest{"not found", {/*Min=*/INT_MAX, 0}};
179
- for (auto V : getSpellings()) {
+ for (auto V : getSpellings())
180
if (V.second.Min < Oldest.second.Min)
181
Oldest = V;
182
- }
183
return Oldest.first;
184
}
185
0 commit comments