File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -3739,18 +3739,17 @@ static void GenerateHasAttrSpellingStringSwitch(
37393739 : ' (' + itostr (Version) + ' )' ;
37403740
37413741 if (Scope.empty () || Scope == Spelling.nameSpace ()) {
3742- if (TestStringMap.contains (Spelling.name ())) {
3742+ if (TestStringMap.contains (Spelling.name ()))
37433743 TestStringMap[Spelling.name ()] += " || " + TestStr;
3744- } else {
3744+ else
37453745 TestStringMap[Spelling.name ()] = TestStr;
3746- }
37473746 }
37483747 }
37493748
37503749 // Create the actual string switch statement after all the attributes have
3751- // been parsed
3752- for (auto &entry : TestStringMap) {
3753- OS << " .Case(\" " << entry .getKey () << " \" , " << entry .getValue ()
3750+ // been parsed.
3751+ for (auto &Entry : TestStringMap) {
3752+ OS << " .Case(\" " << Entry .getKey () << " \" , " << Entry .getValue ()
37543753 << " )\n " ;
37553754 }
37563755
You can’t perform that action at this time.
0 commit comments