r284112 - [analyzer] Link libStaticAnalyzerCheckers to libASTMatchers.
Artem Dergachev via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 13 04:41:13 PDT 2016
Author: dergachev
Date: Thu Oct 13 06:41:12 2016
New Revision: 284112
URL: http://llvm.org/viewvc/llvm-project?rev=284112&view=rev
Log:
[analyzer] Link libStaticAnalyzerCheckers to libASTMatchers.
AST matchers are useful for the analyzer's checkers.
More patches on particular checkers shall follow.
This is the first time clang binary gets linked to ASTMatchers.
The binary size increase for the clang executable would be
+0.5% in release mode, +2% in debug mode.
Differential Revision: https://reviews.llvm.org/D25429
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt
Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt?rev=284112&r1=284111&r2=284112&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt Thu Oct 13 06:41:12 2016
@@ -91,6 +91,7 @@ add_clang_library(clangStaticAnalyzerChe
LINK_LIBS
clangAST
+ clangASTMatchers
clangAnalysis
clangBasic
clangLex
More information about the cfe-commits
mailing list