From 3441b4f77ed51d4a5a5bf172e370afa4ac048244 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 23 Aug 2009 22:45:33 +0000 Subject: API changes to match llvm ToT. llvm-svn: 79868 --- clang/lib/Frontend/FixItRewriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Frontend/FixItRewriter.cpp') 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); -- cgit v1.2.3