summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/FixItRewriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 22:45:33 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 22:45:33 +0000
commit3441b4f77ed51d4a5a5bf172e370afa4ac048244 (patch)
treea31e83ebbb1ea7d539453c2e74c3928878e00a9b /clang/lib/Frontend/FixItRewriter.cpp
parent5db2ff50372c14b47be88974ca0e2c2178e65628 (diff)
downloadbcm5719-llvm-3441b4f77ed51d4a5a5bf172e370afa4ac048244.tar.gz
bcm5719-llvm-3441b4f77ed51d4a5a5bf172e370afa4ac048244.zip
API changes to match llvm ToT.
llvm-svn: 79868
Diffstat (limited to 'clang/lib/Frontend/FixItRewriter.cpp')
-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 1499fa94911..030efd487ef 100644
--- a/clang/lib/Frontend/FixItRewriter.cpp
+++ b/clang/lib/Frontend/FixItRewriter.cpp
@@ -55,7 +55,7 @@ bool FixItRewriter::WriteFixedFile(const std::string &InFileName,
Path.eraseSuffix();
Path.appendSuffix("fixit." + Suffix);
std::string Err;
- OutFile = new llvm::raw_fd_ostream(Path.toString().c_str(), Err,
+ OutFile = new llvm::raw_fd_ostream(Path.c_str(), Err,
llvm::raw_fd_ostream::F_Binary |
llvm::raw_fd_ostream::F_Force);
OwnedStream.reset(OutFile);
OpenPOWER on IntegriCloud