Skip to content

Commit fc10805

Browse files
committed
Resolving cinflict ClangAttrEmitter.cpp
Signed-off-by: Aleksander Fadeev <aleksander.fadeev@intel.com>
1 parent 04a4c83 commit fc10805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/utils/TableGen/ClangAttrEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2332,7 +2332,7 @@ static void emitAttributes(RecordKeeper &Records, raw_ostream &OS,
23322332
SemanticSpellingMap SemanticToSyntacticMap;
23332333

23342334
std::string SpellingEnum;
2335-
if (!ElideSpelling)
2335+
if (Spellings.size() > 1)
23362336
SpellingEnum = CreateSemanticSpellings(Spellings, SemanticToSyntacticMap);
23372337
if (Header)
23382338
OS << SpellingEnum;

0 commit comments

Comments
 (0)