llvm-project/clang/lib/Tooling
Edwin Vane 5038ac0fb8 Allow RefactoringTool to write to memory instead of always to disk
RefactoringTool::run() always writes the result of rewrites to disk.
Instead, make this optional and provide a method for getting the
refactoring results in a memory buffer instead.

Also made ClangTool polymorphic so RefactoringTool could inherit from it
to properly express the IS-A relationship. This change also provides
access to ClangTool's public interface, e.g. mapVirtualFile() which is
important once refactored buffers start living in memory instead of on
disk.

Reviewers: klimek
llvm-svn: 172219
2013-01-11 17:04:55 +00:00
..
ArgumentsAdjusters.cpp Fix -Wdelete-non-virtual-dtor in Tooling code. 2012-05-09 18:31:50 +00:00
CMakeLists.txt Support symlinks and relative paths in complilation databases. 2012-10-08 16:08:15 +00:00
CommonOptionsParser.cpp Style and Doc fix for CommonOptionsParser 2012-12-14 18:58:25 +00:00
CompilationDatabase.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
FileMatchTrie.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
JSONCompilationDatabase.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
Makefile Adds a tooling library. 2012-04-04 12:07:46 +00:00
Refactoring.cpp Allow RefactoringTool to write to memory instead of always to disk 2013-01-11 17:04:55 +00:00
RefactoringCallbacks.cpp Finishing the move of RefactoringCallbacks and fixing the corresponding 2012-07-17 08:37:03 +00:00
Tooling.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00