]> granicus.if.org Git - llvm/commitdiff
gn build: (manually) merge r373407
authorNico Weber <nicolasweber@gmx.de>
Wed, 2 Oct 2019 01:26:46 +0000 (01:26 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 2 Oct 2019 01:26:46 +0000 (01:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373419 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/secondary/clang/include/clang/AST/BUILD.gn
utils/gn/secondary/clang/lib/AST/BUILD.gn
utils/gn/secondary/clang/utils/TableGen/BUILD.gn

index 6ac4a72890604b6c6ac3b5be6071eadfdb6b74a6..49b7e1b2b93f9b07f63aeaccffb77045cf66e344 100644 (file)
@@ -55,6 +55,12 @@ clang_tablegen("DeclNodes") {
   td_file = "../Basic/DeclNodes.td"
 }
 
+clang_tablegen("TypeNodes") {
+  args = [ "-gen-clang-type-nodes" ]
+  td_file = "../Basic/TypeNodes.td"
+  output_name = "TypeNodes.def"
+}
+
 clang_tablegen("CommentNodes") {
   args = [ "-gen-clang-comment-nodes" ]
   td_file = "../Basic/CommentNodes.td"
index 84e80aa8048da7c64b91a0aebd145573aba1189f..36f10eb3b34deeb6b601a64f81c86c69c2e5ae72 100644 (file)
@@ -33,6 +33,7 @@ static_library("AST") {
     "//clang/include/clang/AST:CommentCommandList",
     "//clang/include/clang/AST:CommentNodes",
     "//clang/include/clang/AST:StmtNodes",
+    "//clang/include/clang/AST:TypeNodes",
   ]
   sources = [
     "APValue.cpp",
index 7281cd546ff875f713e9c6dc3d7c74c484e41744..1bb9a2ec7d4ba0416c4290bcb9d7517cf62ad5a0 100644 (file)
@@ -15,6 +15,7 @@ executable("clang-tblgen") {
     "ClangOpenCLBuiltinEmitter.cpp",
     "ClangOptionDocEmitter.cpp",
     "ClangSACheckersEmitter.cpp",
+    "ClangTypeNodesEmitter.cpp",
     "NeonEmitter.cpp",
     "TableGen.cpp",
   ]