summaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/DependencyFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-24 18:20:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-24 18:20:21 +0000
commit4fbd373815119eb1f72b137701e54ddad64389fc (patch)
tree1c8311e7fcd2c3ef461f88c95fd86378cd073c73 /clang/lib/Frontend/DependencyFile.cpp
parent90c7f1cc161769853db72e30e76c34b0e4ddf3da (diff)
downloadllvm-4fbd373815119eb1f72b137701e54ddad64389fc.tar.gz
Update for llvm api change.
llvm-svn: 202053
Diffstat (limited to 'clang/lib/Frontend/DependencyFile.cpp')
-rw-r--r--clang/lib/Frontend/DependencyFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/DependencyFile.cpp b/clang/lib/Frontend/DependencyFile.cpp
index 0aa1a05eff49..39ccdd736c59 100644
--- a/clang/lib/Frontend/DependencyFile.cpp
+++ b/clang/lib/Frontend/DependencyFile.cpp
@@ -171,7 +171,7 @@ void DependencyFileCallback::OutputDependencyFile() {
}
std::string Err;
- llvm::raw_fd_ostream OS(OutputFile.c_str(), Err, llvm::sys::fs::F_None);
+ llvm::raw_fd_ostream OS(OutputFile.c_str(), Err, llvm::sys::fs::F_Text);
if (!Err.empty()) {
PP->getDiagnostics().Report(diag::err_fe_error_opening)
<< OutputFile << Err;