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. llvm-svn: 154008
17 lines
525 B
Makefile
17 lines
525 B
Makefile
##===- tools/Makefile --------------------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
CLANG_LEVEL := ..
|
|
DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
|
|
clang-check
|
|
|
|
include $(CLANG_LEVEL)/../../Makefile.config
|
|
|
|
include $(CLANG_LEVEL)/Makefile
|