diff options
| author | Erich Keane <erich.keane@intel.com> | 2019-09-13 17:56:38 +0000 |
|---|---|---|
| committer | Erich Keane <erich.keane@intel.com> | 2019-09-13 17:56:38 +0000 |
| commit | f9cd381fdfe582734c4533882a8cdde4a880c780 (patch) | |
| tree | 451528295b70290526e33e6f2a5ae58b2e477b86 /clang | |
| parent | 6a24e8068052cd6b48295959ec4c44eb2ef819c5 (diff) | |
| download | bcm5719-llvm-f9cd381fdfe582734c4533882a8cdde4a880c780.tar.gz bcm5719-llvm-f9cd381fdfe582734c4533882a8cdde4a880c780.zip | |
Fix build error in 371875
Apparently Clang complains about the name hiding here in a way that my
GCC build does not, so a shocking number of buildbots decided to tell me
about it. Change the name of the variable to prevent the name hiding
and hope we don't have to fix this again.
llvm-svn: 371876
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/utils/TableGen/ClangAttrEmitter.cpp | 4 |
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) |

