[cfe-commits] [PATCH] Allow RefactoringTool to write to memory instead of always to disk
Edwin Vane
edwin.vane at intel.com
Fri Jan 11 07:43:48 PST 2013
Addressing reviwer comments:
* Using RewriteBuffer::write() instead of new function
getRewriteResult().
* RefactoringTool now provides three functions run() (inherited from
ClangTool), runAndSave() which contains the behaviour of the old
RefactoringTool::run(), and applyAllReplacements() calls the free
function of the same name.
* The free function version remains for tools and tests that use
Replacements but not RefactoringTool.
* RefactoringResults class functionality now the responsibility of the
user of RefactoringTool.
* RewriteHelper no longer necessary.
Hi klimek, alexfh,
http://llvm-reviews.chandlerc.com/D273
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D273?vs=645&id=673#toc
Files:
include/clang/Rewrite/Core/Rewriter.h
include/clang/Tooling/Refactoring.h
include/clang/Tooling/Tooling.h
lib/Tooling/Refactoring.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D273.2.patch
Type: text/x-patch
Size: 8003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130111/e1aa2bcf/attachment.bin>
More information about the cfe-commits
mailing list