1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

gn build: (manually) merge c82e4ef69

This commit is contained in:
Nico Weber 2019-12-16 13:59:41 -05:00
parent 77a4abe86e
commit 7f23194d20
2 changed files with 9 additions and 26 deletions

View File

@ -1,47 +1,27 @@
import("//clang/utils/TableGen/clang_tablegen.gni")
clang_tablegen("Attrs") {
args = [
"-gen-clang-attr-classes",
"-I",
rebase_path("../..", root_out_dir),
]
args = [ "-gen-clang-attr-classes" ]
td_file = "../Basic/Attr.td"
}
clang_tablegen("AttrImpl") {
args = [
"-gen-clang-attr-impl",
"-I",
rebase_path("../..", root_out_dir),
]
args = [ "-gen-clang-attr-impl" ]
td_file = "../Basic/Attr.td"
}
clang_tablegen("AttrTextNodeDump") {
args = [
"-gen-clang-attr-text-node-dump",
"-I",
rebase_path("../..", root_out_dir),
]
args = [ "-gen-clang-attr-text-node-dump" ]
td_file = "../Basic/Attr.td"
}
clang_tablegen("AttrNodeTraverse") {
args = [
"-gen-clang-attr-node-traverse",
"-I",
rebase_path("../..", root_out_dir),
]
args = [ "-gen-clang-attr-node-traverse" ]
td_file = "../Basic/Attr.td"
}
clang_tablegen("AttrVisitor") {
args = [
"-gen-clang-attr-ast-visitor",
"-I",
rebase_path("../..", root_out_dir),
]
args = [ "-gen-clang-attr-ast-visitor" ]
td_file = "../Basic/Attr.td"
}

View File

@ -29,12 +29,15 @@ template("clang_tablegen") {
tablegen(target_name) {
forward_variables_from(invoker,
[
"args",
"output_name",
"td_file",
"visibility",
])
args = [
"-I",
rebase_path("//clang/include", root_out_dir),
] + invoker.args
tblgen_target = "//clang/utils/TableGen:clang-tblgen"
}
}