[llvm] 641bead - [gn build] (semi-manually) Port 454579e46a87
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 11 05:40:29 PST 2020
Author: Nico Weber
Date: 2020-11-11T08:40:13-05:00
New Revision: 641bead10ef35103f5908c00f6353d61912d966b
URL: https://github.com/llvm/llvm-project/commit/641bead10ef35103f5908c00f6353d61912d966b
DIFF: https://github.com/llvm/llvm-project/commit/641bead10ef35103f5908c00f6353d61912d966b.diff
LOG: [gn build] (semi-manually) Port 454579e46a87
Added:
llvm/utils/gn/secondary/clang/include/clang/Tooling/Syntax/BUILD.gn
Modified:
llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn
llvm/utils/gn/secondary/clang/utils/TableGen/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
new file mode 100644
index 000000000000..f23223d27a8c
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang/include/clang/Tooling/Syntax/BUILD.gn
@@ -0,0 +1,5 @@
+import("//clang/utils/TableGen/clang_tablegen.gni")
+
+clang_tablegen("Nodes") {
+ args = [ "-gen-clang-syntax-node-list" ]
+}
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 caa5019722e7..293a0912c6c4 100644
--- a/llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn
@@ -2,6 +2,7 @@ static_library("Syntax") {
output_name = "clangToolingSyntax"
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
+ "//clang/include/clang/Tooling/Syntax:Nodes",
"//clang/lib/Basic",
"//clang/lib/Frontend",
"//clang/lib/Lex",
diff --git a/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn b/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn
index a0e35cc11ef6..860f2b85e3d7 100644
--- a/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn
@@ -17,6 +17,7 @@ executable("clang-tblgen") {
"ClangOpenCLBuiltinEmitter.cpp",
"ClangOptionDocEmitter.cpp",
"ClangSACheckersEmitter.cpp",
+ "ClangSyntaxEmitter.cpp",
"ClangTypeNodesEmitter.cpp",
"MveEmitter.cpp",
"NeonEmitter.cpp",
More information about the llvm-commits
mailing list