[PATCH] clang-replace: Afford applying replacements in memory

Manuel Klimek klimek at google.com
Mon Aug 26 12:04:47 PDT 2013



================
Comment at: clang-replace/ApplyReplacements.h:87
@@ -84,1 +86,3 @@
+                       clang::SourceManager &SM,
+                       llvm::StringMap<std::string> *OutputState = 0);
 
----------------
I'd rather split up this function into one that does the applyAllReplacments (which is in-memory) and one that then saves all the buffers.


http://llvm-reviews.chandlerc.com/D1519



More information about the cfe-commits mailing list