Don't assume that F_None is the default. It is about to change.
llvm-svn: 202040
This commit is contained in:
@@ -171,7 +171,7 @@ void DependencyFileCallback::OutputDependencyFile() {
|
||||
}
|
||||
|
||||
std::string Err;
|
||||
llvm::raw_fd_ostream OS(OutputFile.c_str(), Err);
|
||||
llvm::raw_fd_ostream OS(OutputFile.c_str(), Err, llvm::sys::fs::F_None);
|
||||
if (!Err.empty()) {
|
||||
PP->getDiagnostics().Report(diag::err_fe_error_opening)
|
||||
<< OutputFile << Err;
|
||||
|
||||
Reference in New Issue
Block a user