Skip to content

Commit

Permalink
[analyzer] Link libStaticAnalyzerCheckers to libASTMatchers.
Browse files Browse the repository at this point in the history
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

llvm-svn: 284112
  • Loading branch information
haoNoQ committed Oct 13, 2016
1 parent e77bcc7 commit bb51662
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
Expand Up @@ -91,6 +91,7 @@ add_clang_library(clangStaticAnalyzerCheckers

LINK_LIBS
clangAST
clangASTMatchers
clangAnalysis
clangBasic
clangLex
Expand Down

0 comments on commit bb51662

Please sign in to comment.