llvm-project/clang/lib/Tooling
Manuel Klimek b12e5a5ccd Add functions to apply replacements and reformat them.
This is a commonly useful feature to have, and we have implemented it
multiple times with different kinds of bugs. This implementation
centralizes the idea in a set of functions that we can then use from the various
tools.

Reverts r262234, which is a revert of r262232, and puts the functions
into FOrmat.h, as they are closely coupled to clang-format, and we
otherwise introduce a cyclic dependency between libFormat and
libTooling.

Patch by Eric Liu.

llvm-svn: 262323
2016-03-01 12:37:30 +00:00
..
Core Add functions to apply replacements and reformat them. 2016-03-01 12:37:30 +00:00
ArgumentsAdjusters.cpp Make ArgumentAdjuster aware of the current file being processed. 2015-11-05 02:19:53 +00:00
CMakeLists.txt Refactor libTooling to reduce required dependencies. 2014-10-29 18:55:09 +00:00
CommonOptionsParser.cpp Print options, if requested. 2016-02-23 10:29:02 +00:00
CompilationDatabase.cpp Rename Action::begin() to Action::input_begin(). 2016-02-23 19:30:43 +00:00
FileMatchTrie.cpp Tooling: Hide implementation details 2015-03-09 15:03:26 +00:00
JSONCompilationDatabase.cpp [tooling] Provide the compile commands of the JSON database in the order that they were provided in the JSON file. 2015-09-22 17:22:33 +00:00
Refactoring.cpp Introduce a PCHContainerOperations interface (NFC). 2015-06-20 18:53:08 +00:00
RefactoringCallbacks.cpp
Tooling.cpp Add an optional ToolName argument to runToolOnCodeWithArgs/buildASTFromCodeWithArgs. 2016-01-29 11:29:02 +00:00