diff options
author | Edwin Vane <edwin.vane@intel.com> | 2013-01-11 17:04:55 +0000 |
---|---|---|
committer | Edwin Vane <edwin.vane@intel.com> | 2013-01-11 17:04:55 +0000 |
commit | 5038ac0fb858dd7ebb95e7fccb013ca46d2fce7b (patch) | |
tree | f913c2f01060c7676012d04e8b89f525d2333a77 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | bfbd10b3295adf650b534bcb72b91e8bd0b58ea1 (diff) | |
download | llvm-5038ac0fb858dd7ebb95e7fccb013ca46d2fce7b.zip llvm-5038ac0fb858dd7ebb95e7fccb013ca46d2fce7b.tar.gz llvm-5038ac0fb858dd7ebb95e7fccb013ca46d2fce7b.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions