[llvm] r353657 - gn build: Fix clang-tidy dep on ClangSACheckers.

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 10 19:09:57 PST 2019


Author: nico
Date: Sun Feb 10 19:09:57 2019
New Revision: 353657

URL: http://llvm.org/viewvc/llvm-project?rev=353657&view=rev
Log:
gn build: Fix clang-tidy dep on ClangSACheckers.

Patch by Mirko Bonadei <mbonadei at webrtc.org>!

Differential Revision: https://reviews.llvm.org/D57998

Modified:
    llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/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=353657&r1=353656&r2=353657&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 Sun Feb 10 19:09:57 2019
@@ -4,6 +4,7 @@ static_library("clang-tidy") {
   output_name = "clangTidy"
   configs += [ "//llvm/utils/gn/build:clang_code" ]
   deps = [
+    "//clang/include/clang/StaticAnalyzer/Checkers",
     "//clang/lib/AST",
     "//clang/lib/ASTMatchers",
     "//clang/lib/Basic",
@@ -16,10 +17,6 @@ static_library("clang-tidy") {
     "//clang/lib/Tooling",
     "//clang/lib/Tooling/Core",
     "//llvm/lib/Support",
-
-    # TODO(mbonadei): Add support for Clang Static Analyzer checkers.
-    # Without this, "clang-analyzer-" will not work.
-    # ClangSACheckers
   ]
 
   if (clang_enable_static_analyzer) {




More information about the llvm-commits mailing list