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 ddea4fe commit 4f7b5e6Copy full SHA for 4f7b5e6
clang/utils/TableGen/ClangAttrEmitter.cpp
@@ -3739,7 +3739,8 @@ static void GenerateHasAttrSpellingStringSwitch(
3739
: '(' + itostr(Version) + ')';
3740
3741
if (Scope.empty() || Scope == Spelling.nameSpace()) {
3742
- if (TestStringMap.contains(Spelling.name()))
+ if (TestStringMap.contains(Spelling.name()) &&
3743
+ TestStringMap[Spelling.name()] != TestStr)
3744
TestStringMap[Spelling.name()] += " || " + TestStr;
3745
else
3746
TestStringMap[Spelling.name()] = TestStr;
0 commit comments