commit | 89fe01900eb7e6832e24d729590d6a51e3eba740 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Sat Apr 24 22:31:36 2010 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Sat Apr 24 22:31:36 2010 +0000 |
tree | 5e39366c57664ade136ef0725c52fd74a60a5fb6 | |
parent | e127abe8bbcff7fef0326d68731bc178182a9990 [diff] [blame] |
Switch this to new API. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102280 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/FixItRewriter.cpp b/lib/Frontend/FixItRewriter.cpp index cb2b44a..7c9a566 100644 --- a/lib/Frontend/FixItRewriter.cpp +++ b/lib/Frontend/FixItRewriter.cpp
@@ -68,7 +68,7 @@ continue; } RewriteBuffer &RewriteBuf = I->second; - OS << std::string(RewriteBuf.begin(), RewriteBuf.end()); + RewriteBuf.write(OS); OS.flush(); }