diff options
| author | 2017-01-24 08:32:59 +0000 | |
|---|---|---|
| committer | 2017-01-24 08:32:59 +0000 | |
| commit | 53d771aafdbe5b919f264f53cba3788e2c4cffd2 (patch) | |
| tree | 7eca39498be0ff1e3a6daf583cd9ca5886bb2636 /gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp | |
| parent | In preparation of compiling our kernels with -ffreestanding, explicitly map (diff) | |
| download | wireguard-openbsd-53d771aafdbe5b919f264f53cba3788e2c4cffd2.tar.xz wireguard-openbsd-53d771aafdbe5b919f264f53cba3788e2c4cffd2.zip | |
Import LLVM 4.0.0 rc1 including clang and lld to help the current
development effort on OpenBSD/arm64.
Diffstat (limited to 'gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp')
| -rw-r--r-- | gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp b/gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp index 7ccd7150319..6fb5b00c4ba 100644 --- a/gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp +++ b/gnu/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; |
