summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/utils/TableGen/ClangAttrEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/utils/TableGen/ClangAttrEmitter.cpp b/clang/utils/TableGen/ClangAttrEmitter.cpp
index 3a180893ed6..cf3f24ab521 100644
--- a/clang/utils/TableGen/ClangAttrEmitter.cpp
+++ b/clang/utils/TableGen/ClangAttrEmitter.cpp
@@ -2341,7 +2341,7 @@ void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS) {
OS << ", SourceRange Range, AttributeCommonInfo::Syntax Syntax";
if (!ElideSpelling)
OS << ", " << R.getName()
- << "Attr::Spelling Spelling = "
+ << "Attr::Spelling S = "
"static_cast<Spelling>(SpellingNotCalculated)";
OS << ") {\n";
OS << " AttributeCommonInfo I(Range, ";
@@ -2353,7 +2353,7 @@ void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS) {
OS << ", Syntax";
if (!ElideSpelling)
- OS << ", Spelling";
+ OS << ", S";
OS << ");\n";
OS << " return Create";
if (Implicit)
OpenPOWER on IntegriCloud