diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2014-03-27 22:12:09 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2014-03-27 22:12:09 +0000 |
| commit | 28dc6f98d23f665e6be451cf0dce4dfefaeff9ae (patch) | |
| tree | 4951d4b7b7198a93eb8fa3172d8a20cf895c4a29 /utils/TableGen/TableGen.cpp | |
| parent | 297e5869c5c643cb01a535b626ed787e8ecb4a72 (diff) | |
| download | clang-28dc6f98d23f665e6be451cf0dce4dfefaeff9ae.tar.gz clang-28dc6f98d23f665e6be451cf0dce4dfefaeff9ae.tar.bz2 clang-28dc6f98d23f665e6be451cf0dce4dfefaeff9ae.tar.xz | |
Reapplying r204952 with fixes which should hopefully resolve linking issues with non-MSVC compilers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TableGen.cpp')
| -rw-r--r-- | utils/TableGen/TableGen.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index 6737f77749..4484e65097 100644 --- a/utils/TableGen/TableGen.cpp +++ b/utils/TableGen/TableGen.cpp @@ -29,7 +29,7 @@ enum ActionType { GenClangAttrList, GenClangAttrPCHRead, GenClangAttrPCHWrite, - GenClangAttrSpellingList, + GenClangAttrHasAttributeImpl, GenClangAttrSpellingListIndex, GenClangAttrASTVisitor, GenClangAttrTemplateInstantiate, @@ -72,7 +72,8 @@ cl::opt<ActionType> Action( "Generate clang PCH attribute reader"), clEnumValN(GenClangAttrPCHWrite, "gen-clang-attr-pch-write", "Generate clang PCH attribute writer"), - clEnumValN(GenClangAttrSpellingList, "gen-clang-attr-spelling-list", + clEnumValN(GenClangAttrHasAttributeImpl, + "gen-clang-attr-has-attribute-impl", "Generate a clang attribute spelling list"), clEnumValN(GenClangAttrSpellingListIndex, "gen-clang-attr-spelling-index", @@ -159,8 +160,8 @@ bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { case GenClangAttrPCHWrite: EmitClangAttrPCHWrite(Records, OS); break; - case GenClangAttrSpellingList: - EmitClangAttrSpellingList(Records, OS); + case GenClangAttrHasAttributeImpl: + EmitClangAttrHasAttrImpl(Records, OS); break; case GenClangAttrSpellingListIndex: EmitClangAttrSpellingListIndex(Records, OS); |
