diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-11-13 05:09:21 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-11-13 05:09:21 +0000 |
commit | f3502dbc14f161430006d0efe2e7c5c98fa18c8e (patch) | |
tree | 78239e73d9ae00bcd50671a345faf9a048b475e6 /clang/lib/Driver/PlistDiagnostics.cpp | |
parent | 45698bf05f99481276b25ca8ec6ccf4fb540d273 (diff) | |
download | bcm5719-llvm-f3502dbc14f161430006d0efe2e7c5c98fa18c8e.tar.gz bcm5719-llvm-f3502dbc14f161430006d0efe2e7c5c98fa18c8e.zip |
[LLVM up] Update for raw_fd_ostream change. This fixes a FIXME that
the Backend output should be done in binary mode.
- I'd appreciate it if someone who has a Windows build could verify
this.
llvm-svn: 59221
Diffstat (limited to 'clang/lib/Driver/PlistDiagnostics.cpp')
-rw-r--r-- | clang/lib/Driver/PlistDiagnostics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/PlistDiagnostics.cpp b/clang/lib/Driver/PlistDiagnostics.cpp index 500524157e5..b9e35aa815b 100644 --- a/clang/lib/Driver/PlistDiagnostics.cpp +++ b/clang/lib/Driver/PlistDiagnostics.cpp @@ -195,7 +195,7 @@ void PlistDiagnostics::HandlePathDiagnostic(const PathDiagnostic* D) { // Now create the plist file. std::string ErrMsg; - llvm::raw_fd_ostream o(H.toString().c_str(), ErrMsg); + llvm::raw_fd_ostream o(H.toString().c_str(), false, ErrMsg); if (!ErrMsg.empty()) { llvm::errs() << "warning: could not creat file: " << H.toString() << '\n'; |