aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PlistDiagnostics.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 02:59:41 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 02:59:41 +0000
commit92bcc27ada5788c5f5057fa051b2600ec27c7e17 (patch)
tree28d91d27b87af4f2f0e4fc90e2bf69f61cbffb3c /lib/Frontend/PlistDiagnostics.cpp
parent70d488e6d0d3127aa53bee57ab9e746943ed47c3 (diff)
adjust for raw_fd_ostream api change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PlistDiagnostics.cpp')
-rw-r--r--lib/Frontend/PlistDiagnostics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Frontend/PlistDiagnostics.cpp b/lib/Frontend/PlistDiagnostics.cpp
index 827b9681d9..0b92ece52d 100644
--- a/lib/Frontend/PlistDiagnostics.cpp
+++ b/lib/Frontend/PlistDiagnostics.cpp
@@ -337,7 +337,8 @@ PlistDiagnostics::~PlistDiagnostics() {
// Open the file.
std::string ErrMsg;
- llvm::raw_fd_ostream o(OutputFile.c_str(), false, /*Force=*/true, ErrMsg);
+ llvm::raw_fd_ostream o(OutputFile.c_str(), ErrMsg,
+ llvm::raw_fd_ostream::F_Force);
if (!ErrMsg.empty()) {
llvm::errs() << "warning: could not creat file: " << OutputFile << '\n';
return;