diff options
author | Manuel Klimek <klimek@google.com> | 2012-04-04 12:07:46 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2012-04-04 12:07:46 +0000 |
commit | cb971c6726d16e12ecd2a340941d7f5c06698332 (patch) | |
tree | 63f54a02c06faaf2297917a6e475852f1e959747 /tools/Makefile | |
parent | c9aa9c00fc99ded37a064d607b71815484e20652 (diff) | |
download | clang-cb971c6726d16e12ecd2a340941d7f5c06698332.tar.gz clang-cb971c6726d16e12ecd2a340941d7f5c06698332.tar.bz2 clang-cb971c6726d16e12ecd2a340941d7f5c06698332.tar.xz |
Adds a tooling library.
Provides an API to run clang tools (FrontendActions) as standalone tools,
or repeatedly in-memory in a process. This is useful for unit-testing,
map-reduce style applications, source transformation daemons or command line
tools.
The ability to run over multiple translation units with different command
line arguments enables building up refactoring tools that need to apply
transformations across translation unit boundaries.
See tools/clang-check/ClangCheck.cpp for an example.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile index f647f56a51..5059ade930 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -8,7 +8,8 @@ ##===----------------------------------------------------------------------===## CLANG_LEVEL := .. -DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool +DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \ + clang-check include $(CLANG_LEVEL)/../../Makefile.config |