aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2013-01-11 17:04:55 +0000
committerEdwin Vane <edwin.vane@intel.com>2013-01-11 17:04:55 +0000
commit5038ac0fb858dd7ebb95e7fccb013ca46d2fce7b (patch)
treef913c2f01060c7676012d04e8b89f525d2333a77 /llvm/lib/CodeGen/MachineScheduler.cpp
parentbfbd10b3295adf650b534bcb72b91e8bd0b58ea1 (diff)
downloadllvm-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