[cfe-commits] r102280 - /cfe/trunk/lib/Frontend/FixItRewriter.cpp
Nick Lewycky
nicholas at mxc.ca
Sat Apr 24 15:31:36 PDT 2010
Author: nicholas
Date: Sat Apr 24 17:31:36 2010
New Revision: 102280
URL: http://llvm.org/viewvc/llvm-project?rev=102280&view=rev
Log:
Switch this to new API.
Modified:
cfe/trunk/lib/Frontend/FixItRewriter.cpp
Modified: cfe/trunk/lib/Frontend/FixItRewriter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/FixItRewriter.cpp?rev=102280&r1=102279&r2=102280&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/FixItRewriter.cpp (original)
+++ cfe/trunk/lib/Frontend/FixItRewriter.cpp Sat Apr 24 17:31:36 2010
@@ -68,7 +68,7 @@
continue;
}
RewriteBuffer &RewriteBuf = I->second;
- OS << std::string(RewriteBuf.begin(), RewriteBuf.end());
+ RewriteBuf.write(OS);
OS.flush();
}
More information about the cfe-commits
mailing list