[llvm] r361391 - Reland r361148 with a fix to the buildbot failure.
Ilya Biryukov via llvm-commits
llvm-commits at lists.llvm.org
Wed May 22 07:44:46 PDT 2019
Author: ibiryukov
Date: Wed May 22 07:44:45 2019
New Revision: 361391
URL: http://llvm.org/viewvc/llvm-project?rev=361391&view=rev
Log:
Reland r361148 with a fix to the buildbot failure.
Reverted in r361377.
Also reland the '.gn' files (reverted in r361389).
Added:
llvm/trunk/utils/gn/secondary/clang/lib/Tooling/Syntax/
llvm/trunk/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn
llvm/trunk/utils/gn/secondary/clang/unittests/Tooling/Syntax/
llvm/trunk/utils/gn/secondary/clang/unittests/Tooling/Syntax/BUILD.gn
Modified:
llvm/trunk/utils/gn/secondary/clang/unittests/BUILD.gn
Added: llvm/trunk/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn?rev=361391&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn Wed May 22 07:44:45 2019
@@ -0,0 +1,13 @@
+static_library("Syntax") {
+ output_name = "clangToolingSyntax"
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang/lib/Basic",
+ "//clang/lib/Frontend",
+ "//clang/lib/Lex",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "Tokens.cpp",
+ ]
+}
Modified: llvm/trunk/utils/gn/secondary/clang/unittests/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/unittests/BUILD.gn?rev=361391&r1=361390&r2=361391&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/unittests/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/unittests/BUILD.gn Wed May 22 07:44:45 2019
@@ -17,6 +17,7 @@ group("unittests") {
"Sema:SemaTests",
"Serialization:SerializationTests",
"Tooling:ToolingTests",
+ "Tooling/Syntax:SyntaxTests",
]
if (clang_enable_static_analyzer) {
deps += [
Added: llvm/trunk/utils/gn/secondary/clang/unittests/Tooling/Syntax/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/unittests/Tooling/Syntax/BUILD.gn?rev=361391&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/unittests/Tooling/Syntax/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/clang/unittests/Tooling/Syntax/BUILD.gn Wed May 22 07:44:45 2019
@@ -0,0 +1,20 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("SyntaxTests") {
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang/lib/AST",
+ "//clang/lib/Basic",
+ "//clang/lib/Frontend",
+ "//clang/lib/Lex",
+ "//clang/lib/Serialization",
+ "//clang/lib/Tooling",
+ "//clang/lib/Tooling/Syntax",
+ "//llvm/lib/Support",
+ "//llvm/lib/Target:TargetsToBuild",
+ "//llvm/lib/Testing/Support",
+ ]
+ sources = [
+ "TokensTest.cpp",
+ ]
+}
More information about the llvm-commits
mailing list