[PATCH] D57777: [gn] Fix clang-tidy build
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 5 15:48:36 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL353244: gn build: Fix clang-tidy build (authored by nico, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D57777?vs=185368&id=185428#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57777/new/
https://reviews.llvm.org/D57777
Files:
llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
Index: llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
@@ -22,14 +22,12 @@
# ClangSACheckers
]
- # TODO(mbonadei): Add support for Clang Static Analyzer checkers.
- # Without this, "clang-analyzer-" will not work.
- # if (clang_enable_static_analyzer) {
- # deps += [
- # "//clang/lib/StaticAnalyzer/Core",
- # "//clang/lib/StaticAnalyzer/Frontend",
- # ]
- # }
+ if (clang_enable_static_analyzer) {
+ deps += [
+ "//clang/lib/StaticAnalyzer/Core",
+ "//clang/lib/StaticAnalyzer/Frontend",
+ ]
+ }
sources = [
"ClangTidy.cpp",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57777.185428.patch
Type: text/x-patch
Size: 817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190205/f87065f5/attachment.bin>
More information about the llvm-commits
mailing list