1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

gn build: Fix clang-tidy dep on ClangSACheckers.

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

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

llvm-svn: 353657
This commit is contained in:
Nico Weber 2019-02-11 03:09:57 +00:00
parent 8d08b1c150
commit 1fc0cd4ae0

View File

@ -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) {