diff options
Diffstat (limited to 'contrib/llvm/tools/clang/utils/TableGen/TableGen.cpp')
-rw-r--r-- | contrib/llvm/tools/clang/utils/TableGen/TableGen.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/contrib/llvm/tools/clang/utils/TableGen/TableGen.cpp b/contrib/llvm/tools/clang/utils/TableGen/TableGen.cpp index 7ccd715..6fb5b00 100644 --- a/contrib/llvm/tools/clang/utils/TableGen/TableGen.cpp +++ b/contrib/llvm/tools/clang/utils/TableGen/TableGen.cpp @@ -13,7 +13,6 @@ #include "TableGenBackends.h" // Declares all backends. #include "llvm/Support/CommandLine.h" -#include "llvm/Support/ManagedStatic.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/Signals.h" #include "llvm/TableGen/Error.h" @@ -53,7 +52,8 @@ enum ActionType { GenArmNeon, GenArmNeonSema, GenArmNeonTest, - GenAttrDocs + GenAttrDocs, + GenDiagDocs }; namespace { @@ -134,7 +134,8 @@ cl::opt<ActionType> Action( "Generate ARM NEON tests for clang"), clEnumValN(GenAttrDocs, "gen-attr-docs", "Generate attribute documentation"), - clEnumValEnd)); + clEnumValN(GenDiagDocs, "gen-diag-docs", + "Generate attribute documentation"))); cl::opt<std::string> ClangComponent("clang-component", @@ -234,6 +235,9 @@ bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { case GenAttrDocs: EmitClangAttrDocs(Records, OS); break; + case GenDiagDocs: + EmitClangDiagDocs(Records, OS); + break; } return false; |