diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-25 15:36:09 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-25 15:36:09 +0000 |
commit | b044c473a155b7e827680635c1699cb2b5b6c0ee (patch) | |
tree | 6d16774a160f8d414c27febb7b51947052887afa /lib/Frontend/FixItRewriter.cpp | |
parent | 0b84a53412a6acac38e2d647d220ce7af851395e (diff) |
Update clang for raw_fd_ostream no longer requiring F_Force.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/FixItRewriter.cpp')
-rw-r--r-- | lib/Frontend/FixItRewriter.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Frontend/FixItRewriter.cpp b/lib/Frontend/FixItRewriter.cpp index 98e2503d59..ba58df5d83 100644 --- a/lib/Frontend/FixItRewriter.cpp +++ b/lib/Frontend/FixItRewriter.cpp @@ -46,8 +46,7 @@ bool FixItRewriter::WriteFixedFile(const std::string &InFileName, if (!OutFileName.empty()) { std::string Err; OutFile = new llvm::raw_fd_ostream(OutFileName.c_str(), Err, - llvm::raw_fd_ostream::F_Binary | - llvm::raw_fd_ostream::F_Force); + llvm::raw_fd_ostream::F_Binary); OwnedStream.reset(OutFile); } else if (InFileName == "-") { OutFile = &llvm::outs(); @@ -58,8 +57,7 @@ bool FixItRewriter::WriteFixedFile(const std::string &InFileName, Path.appendSuffix("fixit." + Suffix); std::string Err; OutFile = new llvm::raw_fd_ostream(Path.c_str(), Err, - llvm::raw_fd_ostream::F_Binary | - llvm::raw_fd_ostream::F_Force); + llvm::raw_fd_ostream::F_Binary); OwnedStream.reset(OutFile); } |