summaryrefslogtreecommitdiffstats
path: root/clang/utils/TableGen/CMakeLists.txt
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2019-10-28 09:45:53 -0700
committerJohn McCall <rjmccall@apple.com>2019-12-14 00:16:47 -0500
commit91dd67ef724c07f28d4cb52448539f12ad488f2a (patch)
tree132234b852f295ec1c66efe85a0de1eb75dd311d /clang/utils/TableGen/CMakeLists.txt
parenta7950ffd12caa2fb7ed4704128011bceeacd35e9 (diff)
downloadbcm5719-llvm-91dd67ef724c07f28d4cb52448539f12ad488f2a.tar.gz
bcm5719-llvm-91dd67ef724c07f28d4cb52448539f12ad488f2a.zip
Introduce some types and functions to make it easier to work with
the tblgen AST node hierarchies. Not totally NFC because both of the emitters now emit in a different order. The type-nodes emitter now visits nodes in hierarchy order, which means we could use range checks in classof if we had any types that would benefit from that; currently we do not. The AST-nodes emitter now uses a multimap keyed by the name of the record; previously it was using `Record*`, which of couse isn't stable across processes and may have led to non-reproducible builds in some circumstances.
Diffstat (limited to 'clang/utils/TableGen/CMakeLists.txt')
-rw-r--r--clang/utils/TableGen/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/utils/TableGen/CMakeLists.txt b/clang/utils/TableGen/CMakeLists.txt
index c685a2c0c07..84d548802f3 100644
--- a/clang/utils/TableGen/CMakeLists.txt
+++ b/clang/utils/TableGen/CMakeLists.txt
@@ -1,6 +1,7 @@
set(LLVM_LINK_COMPONENTS Support)
add_tablegen(clang-tblgen CLANG
+ ASTTableGen.cpp
ClangASTNodesEmitter.cpp
ClangAttrEmitter.cpp
ClangCommentCommandInfoEmitter.cpp
OpenPOWER on IntegriCloud