diff options
| author | 2018-04-06 14:26:03 +0000 | |
|---|---|---|
| committer | 2018-04-06 14:26:03 +0000 | |
| commit | bdabc2f19ffb9e20600dad6e8a300842a7bda50e (patch) | |
| tree | c50e7b2e5449b074651bb82a58517a8ebc4a8cf7 /gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp | |
| parent | Print a 'p' flag for file descriptors that were opened after pledge(2). (diff) | |
| download | wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.tar.xz wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.zip | |
Import LLVM 6.0.1 release including clang, lld and lldb.
"where is the kaboom?" deraadt@
Diffstat (limited to 'gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp')
| -rw-r--r-- | gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp b/gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp index 781518ddbc3..840b330a732 100644 --- a/gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp +++ b/gnu/llvm/tools/clang/utils/TableGen/TableGen.cpp @@ -57,6 +57,7 @@ enum ActionType { GenAttrDocs, GenDiagDocs, GenOptDocs, + GenDataCollectors, GenTestPragmaAttributeSupportedAttributes }; @@ -147,6 +148,8 @@ cl::opt<ActionType> Action( clEnumValN(GenDiagDocs, "gen-diag-docs", "Generate diagnostic documentation"), clEnumValN(GenOptDocs, "gen-opt-docs", "Generate option documentation"), + clEnumValN(GenDataCollectors, "gen-clang-data-collectors", + "Generate data collectors for AST nodes"), clEnumValN(GenTestPragmaAttributeSupportedAttributes, "gen-clang-test-pragma-attribute-supported-attributes", "Generate a list of attributes supported by #pragma clang " @@ -262,6 +265,9 @@ bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { case GenOptDocs: EmitClangOptDocs(Records, OS); break; + case GenDataCollectors: + EmitClangDataCollectors(Records, OS); + break; case GenTestPragmaAttributeSupportedAttributes: EmitTestPragmaAttributeSupportedAttributes(Records, OS); break; |
