[llvm] 420acc8 - [gn build] (manually) port 98aa067109e
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 11 05:40:31 PST 2020
Author: Nico Weber
Date: 2020-11-11T08:40:13-05:00
New Revision: 420acc84149925faac8b1428237a7af489d72f42
URL: https://github.com/llvm/llvm-project/commit/420acc84149925faac8b1428237a7af489d72f42
DIFF: https://github.com/llvm/llvm-project/commit/420acc84149925faac8b1428237a7af489d72f42.diff
LOG: [gn build] (manually) port 98aa067109e
Added:
Modified:
llvm/utils/gn/secondary/clang/include/clang/Tooling/Syntax/BUILD.gn
llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/include/clang/Tooling/Syntax/BUILD.gn b/llvm/utils/gn/secondary/clang/include/clang/Tooling/Syntax/BUILD.gn
index f23223d27a8c..eb1a41c2c0be 100644
--- a/llvm/utils/gn/secondary/clang/include/clang/Tooling/Syntax/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/include/clang/Tooling/Syntax/BUILD.gn
@@ -3,3 +3,7 @@ import("//clang/utils/TableGen/clang_tablegen.gni")
clang_tablegen("Nodes") {
args = [ "-gen-clang-syntax-node-list" ]
}
+clang_tablegen("NodeClasses") {
+ td_file = "Nodes.td"
+ args = [ "-gen-clang-syntax-node-classes" ]
+}
diff --git a/llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn
index 293a0912c6c4..aead4a2bfa0d 100644
--- a/llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn
@@ -8,6 +8,7 @@ static_library("Syntax") {
"//clang/lib/Lex",
"//llvm/lib/Support",
]
+ public_deps = [ "//clang/include/clang/Tooling/Syntax:NodeClasses" ]
sources = [
"BuildTree.cpp",
"ComputeReplacements.cpp",
More information about the llvm-commits
mailing list