summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-04-24 22:31:36 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-04-24 22:31:36 +0000
commit0a7de38a225515182378e46471fa9806bd5e1727 (patch)
tree02e3a2bf79fc60f380403fd16849c9cba944a325 /clang/lib/Frontend
parent90235beb55474594c14ce91b540bd55091357655 (diff)
downloadbcm5719-llvm-0a7de38a225515182378e46471fa9806bd5e1727.tar.gz
bcm5719-llvm-0a7de38a225515182378e46471fa9806bd5e1727.zip
Switch this to new API.
llvm-svn: 102280
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r--clang/lib/Frontend/FixItRewriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/FixItRewriter.cpp b/clang/lib/Frontend/FixItRewriter.cpp
index cb2b44a0272..7c9a566b6f7 100644
--- a/clang/lib/Frontend/FixItRewriter.cpp
+++ b/clang/lib/Frontend/FixItRewriter.cpp
@@ -68,7 +68,7 @@ bool FixItRewriter::WriteFixedFiles() {
continue;
}
RewriteBuffer &RewriteBuf = I->second;
- OS << std::string(RewriteBuf.begin(), RewriteBuf.end());
+ RewriteBuf.write(OS);
OS.flush();
}
OpenPOWER on IntegriCloud