From: Peter Collingbourne Date: Fri, 11 Jan 2019 22:15:53 +0000 (+0000) Subject: gn build: Merge r350958. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83f886b8d1577117e6f7dd6fd11041609436b3cb;p=llvm gn build: Merge r350958. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350974 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/gn/secondary/clang/include/clang/AST/BUILD.gn b/utils/gn/secondary/clang/include/clang/AST/BUILD.gn index 5fa083f06e5..6ac4a728906 100644 --- a/utils/gn/secondary/clang/include/clang/AST/BUILD.gn +++ b/utils/gn/secondary/clang/include/clang/AST/BUILD.gn @@ -18,9 +18,18 @@ clang_tablegen("AttrImpl") { td_file = "../Basic/Attr.td" } -clang_tablegen("AttrDump") { +clang_tablegen("AttrTextNodeDump") { args = [ - "-gen-clang-attr-dump", + "-gen-clang-attr-text-node-dump", + "-I", + rebase_path("../..", root_out_dir), + ] + td_file = "../Basic/Attr.td" +} + +clang_tablegen("AttrNodeTraverse") { + args = [ + "-gen-clang-attr-node-traverse", "-I", rebase_path("../..", root_out_dir), ] diff --git a/utils/gn/secondary/clang/lib/AST/BUILD.gn b/utils/gn/secondary/clang/lib/AST/BUILD.gn index ee884f9c66f..fc3b0b9b0f8 100644 --- a/utils/gn/secondary/clang/lib/AST/BUILD.gn +++ b/utils/gn/secondary/clang/lib/AST/BUILD.gn @@ -2,8 +2,9 @@ static_library("AST") { output_name = "clangAST" configs += [ "//llvm/utils/gn/build:clang_code" ] deps = [ - "//clang/include/clang/AST:AttrDump", "//clang/include/clang/AST:AttrImpl", + "//clang/include/clang/AST:AttrNodeTraverse", + "//clang/include/clang/AST:AttrTextNodeDump", "//clang/include/clang/AST:CommentCommandInfo", "//clang/include/clang/AST:CommentHTMLNamedCharacterReferences", "//clang/include/clang/AST:CommentHTMLTags",