llvm-project/clang/lib/Tooling/Core
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
..
CMakeLists.txt Add Tooling functionality to get a name for a QualType that can be used to name 2016-02-09 21:04:04 +00:00
Lookup.cpp [Tooling] Add a utility function to replace one nested name with another. 2015-10-22 15:04:10 +00:00
QualTypeNames.cpp Stop using "template" when printing qualtype names 2016-02-16 20:34:27 +00:00
Replacement.cpp Add functions to apply replacements and reformat them. 2016-03-01 12:37:30 +00:00