diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 22:45:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 22:45:33 +0000 |
commit | d57a7ef9252964bc6c8471451d7bd395b0520cb8 (patch) | |
tree | 4667ff61ed62b6a6082f04fc549f82326e7c2b7c /lib/Frontend/FixItRewriter.cpp | |
parent | 8bde505fad92a44a853f5697a4fd8d2b52f20119 (diff) |
API changes to match llvm ToT.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/FixItRewriter.cpp')
-rw-r--r-- | lib/Frontend/FixItRewriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/FixItRewriter.cpp b/lib/Frontend/FixItRewriter.cpp index 1499fa9491..030efd487e 100644 --- a/lib/Frontend/FixItRewriter.cpp +++ b/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); |