From 9e763e1b361a1f552996e9ebb6859c79066b47a4 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 2 Oct 2019 01:26:46 +0000 Subject: [PATCH] gn build: (manually) merge r373407 llvm-svn: 373419 --- llvm/utils/gn/secondary/clang/include/clang/AST/BUILD.gn | 6 ++++++ llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn | 1 + llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn | 1 + 3 files changed, 8 insertions(+) diff --git a/llvm/utils/gn/secondary/clang/include/clang/AST/BUILD.gn b/llvm/utils/gn/secondary/clang/include/clang/AST/BUILD.gn index 6ac4a72..49b7e1b 100644 --- a/llvm/utils/gn/secondary/clang/include/clang/AST/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/include/clang/AST/BUILD.gn @@ -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" diff --git a/llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn index 84e80aa..36f10eb 100644 --- a/llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn @@ -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", diff --git a/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn b/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn index 7281cd5..1bb9a2e 100644 --- a/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn @@ -15,6 +15,7 @@ executable("clang-tblgen") { "ClangOpenCLBuiltinEmitter.cpp", "ClangOptionDocEmitter.cpp", "ClangSACheckersEmitter.cpp", + "ClangTypeNodesEmitter.cpp", "NeonEmitter.cpp", "TableGen.cpp", ] -- 2.7.4