]> granicus.if.org Git - clang/commitdiff
[analyzer] Link libStaticAnalyzerCheckers to libASTMatchers.
authorArtem Dergachev <artem.dergachev@gmail.com>
Thu, 13 Oct 2016 11:41:12 +0000 (11:41 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Thu, 13 Oct 2016 11:41:12 +0000 (11:41 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284112 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/CMakeLists.txt

index 724c4804d5fe8de1bf0cf976aa89f9d265721be0..f0fb0a5ebbb90e2ebcabf9ab74fe67bd1b7873c3 100644 (file)
@@ -91,6 +91,7 @@ add_clang_library(clangStaticAnalyzerCheckers
 
   LINK_LIBS
   clangAST
+  clangASTMatchers
   clangAnalysis
   clangBasic
   clangLex