]> granicus.if.org Git - clang/commit
Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user
authorRoman Divacky <rdivacky@freebsd.org>
Thu, 13 Dec 2012 16:09:42 +0000 (16:09 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Thu, 13 Dec 2012 16:09:42 +0000 (16:09 +0000)
commitfc2929fdb7cce47daf5b2857a56013fad0257cb6
tree8a743249938d975d1e37653bf1f0f8d8eb7b6647
parent702baef6d636004db1a0bb6aa34b664650e594f6
Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user
specifies not to. Dont build ASTMatchers with Rewriter disabled and
StaticAnalyzer when it's disabled.

Without all those three, the clang binary shrinks (x86_64) from ~36MB
to ~32MB (unstripped).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170135 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticFrontendKinds.td
lib/FrontendTool/ExecuteCompilerInvocation.cpp
lib/FrontendTool/Makefile
lib/Makefile
tools/driver/Makefile
unittests/Makefile