[llvm] r373086 - gn build: (manually) merge r373082
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 27 06:14:34 PDT 2019
Author: nico
Date: Fri Sep 27 06:14:34 2019
New Revision: 373086
URL: http://llvm.org/viewvc/llvm-project?rev=373086&view=rev
Log:
gn build: (manually) merge r373082
Modified:
llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/BUILD.gn
llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn
llvm/trunk/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
Modified: llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn?rev=373086&r1=373085&r2=373086&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn Fri Sep 27 06:14:34 2019
@@ -37,3 +37,32 @@ static_library("clang-tidy") {
"GlobList.cpp",
]
}
+
+group("all-checks") {
+ # If you add a check, also add it to ClangTidyForceLinker.h.
+ deps = [
+ "//clang-tools-extra/clang-tidy/abseil",
+ "//clang-tools-extra/clang-tidy/android",
+ "//clang-tools-extra/clang-tidy/boost",
+ "//clang-tools-extra/clang-tidy/bugprone",
+ "//clang-tools-extra/clang-tidy/cert",
+ "//clang-tools-extra/clang-tidy/cppcoreguidelines",
+ "//clang-tools-extra/clang-tidy/darwin",
+ "//clang-tools-extra/clang-tidy/fuchsia",
+ "//clang-tools-extra/clang-tidy/google",
+ "//clang-tools-extra/clang-tidy/hicpp",
+ "//clang-tools-extra/clang-tidy/linuxkernel",
+ "//clang-tools-extra/clang-tidy/llvm",
+ "//clang-tools-extra/clang-tidy/misc",
+ "//clang-tools-extra/clang-tidy/modernize",
+ "//clang-tools-extra/clang-tidy/objc",
+ "//clang-tools-extra/clang-tidy/openmp",
+ "//clang-tools-extra/clang-tidy/performance",
+ "//clang-tools-extra/clang-tidy/portability",
+ "//clang-tools-extra/clang-tidy/readability",
+ "//clang-tools-extra/clang-tidy/zircon",
+ ]
+ if (clang_enable_static_analyzer) {
+ deps += [ "//clang-tools-extra/clang-tidy/mpi" ]
+ }
+}
Modified: llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/BUILD.gn?rev=373086&r1=373085&r2=373086&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/BUILD.gn Fri Sep 27 06:14:34 2019
@@ -1,30 +1,9 @@
-import("//clang/lib/StaticAnalyzer/Frontend/enable.gni")
-
static_library("plugin") {
output_name = "clangTidyPlugin"
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang-tools-extra/clang-tidy",
- "//clang-tools-extra/clang-tidy/abseil",
- "//clang-tools-extra/clang-tidy/android",
- "//clang-tools-extra/clang-tidy/boost",
- "//clang-tools-extra/clang-tidy/bugprone",
- "//clang-tools-extra/clang-tidy/cert",
- "//clang-tools-extra/clang-tidy/cppcoreguidelines",
- "//clang-tools-extra/clang-tidy/darwin",
- "//clang-tools-extra/clang-tidy/fuchsia",
- "//clang-tools-extra/clang-tidy/google",
- "//clang-tools-extra/clang-tidy/hicpp",
- "//clang-tools-extra/clang-tidy/linuxkernel",
- "//clang-tools-extra/clang-tidy/llvm",
- "//clang-tools-extra/clang-tidy/misc",
- "//clang-tools-extra/clang-tidy/modernize",
- "//clang-tools-extra/clang-tidy/objc",
- "//clang-tools-extra/clang-tidy/openmp",
- "//clang-tools-extra/clang-tidy/performance",
- "//clang-tools-extra/clang-tidy/portability",
- "//clang-tools-extra/clang-tidy/readability",
- "//clang-tools-extra/clang-tidy/zircon",
+ "//clang-tools-extra/clang-tidy:all-checks",
"//clang/lib/AST",
"//clang/lib/ASTMatchers",
"//clang/lib/Basic",
@@ -33,10 +12,6 @@ static_library("plugin") {
"//clang/lib/Tooling",
]
- if (clang_enable_static_analyzer) {
- deps += [ "//clang-tools-extra/clang-tidy/mpi" ]
- }
-
sources = [
"ClangTidyPlugin.cpp",
]
Modified: llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn?rev=373086&r1=373085&r2=373086&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn Fri Sep 27 06:14:34 2019
@@ -1,29 +1,8 @@
-import("//clang/lib/StaticAnalyzer/Frontend/enable.gni")
-
executable("clang-tidy") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang-tools-extra/clang-tidy",
- "//clang-tools-extra/clang-tidy/abseil",
- "//clang-tools-extra/clang-tidy/android",
- "//clang-tools-extra/clang-tidy/boost",
- "//clang-tools-extra/clang-tidy/bugprone",
- "//clang-tools-extra/clang-tidy/cert",
- "//clang-tools-extra/clang-tidy/cppcoreguidelines",
- "//clang-tools-extra/clang-tidy/darwin",
- "//clang-tools-extra/clang-tidy/fuchsia",
- "//clang-tools-extra/clang-tidy/google",
- "//clang-tools-extra/clang-tidy/hicpp",
- "//clang-tools-extra/clang-tidy/linuxkernel",
- "//clang-tools-extra/clang-tidy/llvm",
- "//clang-tools-extra/clang-tidy/misc",
- "//clang-tools-extra/clang-tidy/modernize",
- "//clang-tools-extra/clang-tidy/objc",
- "//clang-tools-extra/clang-tidy/openmp",
- "//clang-tools-extra/clang-tidy/performance",
- "//clang-tools-extra/clang-tidy/portability",
- "//clang-tools-extra/clang-tidy/readability",
- "//clang-tools-extra/clang-tidy/zircon",
+ "//clang-tools-extra/clang-tidy:all-checks",
"//clang/lib/AST",
"//clang/lib/ASTMatchers",
"//clang/lib/Basic",
@@ -34,9 +13,6 @@ executable("clang-tidy") {
"//llvm/lib/Target:AllTargetsDescs",
"//llvm/lib/Target:AllTargetsInfos",
]
- if (clang_enable_static_analyzer) {
- deps += [ "//clang-tools-extra/clang-tidy/mpi" ]
- }
sources = [
"ClangTidyMain.cpp",
]
Modified: llvm/trunk/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn?rev=373086&r1=373085&r2=373086&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn Fri Sep 27 06:14:34 2019
@@ -24,26 +24,8 @@ static_library("clangd") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
":features",
- "//clang-tools-extra/clang-tidy/abseil",
- "//clang-tools-extra/clang-tidy/android",
- "//clang-tools-extra/clang-tidy/boost",
- "//clang-tools-extra/clang-tidy/bugprone",
- "//clang-tools-extra/clang-tidy/cert",
- "//clang-tools-extra/clang-tidy/cppcoreguidelines",
- "//clang-tools-extra/clang-tidy/darwin",
- "//clang-tools-extra/clang-tidy/fuchsia",
- "//clang-tools-extra/clang-tidy/google",
- "//clang-tools-extra/clang-tidy/hicpp",
- "//clang-tools-extra/clang-tidy/linuxkernel",
- "//clang-tools-extra/clang-tidy/llvm",
- "//clang-tools-extra/clang-tidy/misc",
- "//clang-tools-extra/clang-tidy/modernize",
- "//clang-tools-extra/clang-tidy/objc",
- "//clang-tools-extra/clang-tidy/openmp",
- "//clang-tools-extra/clang-tidy/performance",
- "//clang-tools-extra/clang-tidy/portability",
- "//clang-tools-extra/clang-tidy/readability",
- "//clang-tools-extra/clang-tidy/zircon",
+ "//clang-tools-extra/clang-tidy",
+ "//clang-tools-extra/clang-tidy:all-checks",
"//clang/lib/AST",
"//clang/lib/ASTMatchers",
"//clang/lib/Basic",
More information about the llvm-commits
mailing list