summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-10-29 18:55:09 +0000
committerDaniel Jasper <djasper@google.com>2014-10-29 18:55:09 +0000
commitcb3e6188bcda28459a60a09758ff488f086b4114 (patch)
treec76302e4fc4d94abfb15f13d8ca18c6f652c01a5 /clang/unittests/Tooling
parentce2164f45c5f1930d2c29df2e06128408e74bbfc (diff)
downloadbcm5719-llvm-cb3e6188bcda28459a60a09758ff488f086b4114.tar.gz
bcm5719-llvm-cb3e6188bcda28459a60a09758ff488f086b4114.zip
Refactor libTooling to reduce required dependencies.
This moves classes for storing and applying replacements to separate files. These classes specifically are used by clang-format which doesn't have any other dependencies on clangAST. Thereby, the size of clang-format's binary can be cut roughly in half and its build time sped up. llvm-svn: 220867
Diffstat (limited to 'clang/unittests/Tooling')
-rw-r--r--clang/unittests/Tooling/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/Makefile b/clang/unittests/Tooling/Makefile
index 46af8a11bba..514e80bd030 100644
--- a/clang/unittests/Tooling/Makefile
+++ b/clang/unittests/Tooling/Makefile
@@ -11,7 +11,8 @@ CLANG_LEVEL = ../..
TESTNAME = Tooling
include $(CLANG_LEVEL)/../../Makefile.config
LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc option
-USEDLIBS = clangTooling.a clangFrontend.a clangSerialization.a clangDriver.a \
+USEDLIBS = clangTooling.a clangToolingCore.a clangFrontend.a \
+ clangSerialization.a clangDriver.a \
clangParse.a clangRewrite.a clangRewriteFrontend.a \
clangSema.a clangAnalysis.a clangEdit.a \
clangAST.a clangASTMatchers.a clangLex.a clangBasic.a
OpenPOWER on IntegriCloud