[PATCH] clang-replace: Afford applying replacements in memory
Manuel Klimek
klimek at google.com
Tue Aug 27 02:56:49 PDT 2013
================
Comment at: clang-replace/ApplyReplacements.h:79
@@ -78,1 +78,3 @@
/// \param[in] SM SourceManager required to construct clang::Rewriter.
+/// \param[out] FileContents The results of applying replacements will be
+/// written into this map. The map keys are filenames and the map values are
----------------
Ah, I think now I get where the problem comes from - the output state should be collected in a Rewriter instead of a map.
http://llvm-reviews.chandlerc.com/D1519
More information about the cfe-commits
mailing list