]> granicus.if.org Git - clang/commit
This is the next step in building the standalone tools infrastructure:
authorManuel Klimek <klimek@google.com>
Wed, 27 Apr 2011 16:39:14 +0000 (16:39 +0000)
committerManuel Klimek <klimek@google.com>
Wed, 27 Apr 2011 16:39:14 +0000 (16:39 +0000)
commit9a05fa97df4d5e64f740848a7759ecae5e1ed162
tree70f5f56fcbe1bd6d3ff66ee1af96fa793fc01923
parent4d8d803b06804defe25346871c7beb6096540c4a
This is the next step in building the standalone tools infrastructure:
This patch simplifies writing of standalone Clang tools. As an
example, we add clang-check, a tool that runs a syntax only frontend
action over a .cc file. When you integrate this into your favorite
editor, you get much faster feedback on your compilation errors, thus
reducing your feedback cycle especially when writing new code.

The tool depends on integration of an outstanding patch to CMake to
work which allows you to always have a current compile command
database in your cmake output directory when you set
CMAKE_EXPORT_COMPILE_COMMANDS.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130306 91177308-0d34-0410-b5e6-96231b3b80d8
examples/CMakeLists.txt
examples/Tooling/CMakeLists.txt [new file with mode: 0644]
examples/Tooling/ClangCheck.cpp [new file with mode: 0644]
include/clang/Tooling/Tooling.h
lib/Tooling/CMakeLists.txt
lib/Tooling/JsonCompileCommandLineDatabase.cpp [new file with mode: 0644]
lib/Tooling/JsonCompileCommandLineDatabase.h [new file with mode: 0644]
lib/Tooling/Tooling.cpp
unittests/CMakeLists.txt
unittests/Tooling/JsonCompileCommandLineDatabaseTest.cpp [new file with mode: 0644]
unittests/Tooling/ToolingTest.cpp