Update for LLVM change to raw_fd_ostream's option flags.

Swift SVN r6305
This commit is contained in:
Jordan Rose
2013-07-16 23:11:03 +00:00
parent 87689d1c84
commit 0a6d9df178
2 changed files with 3 additions and 3 deletions

View File

@@ -1690,7 +1690,7 @@ void swift::serialize(const TranslationUnit *TU, const char *outputPath,
FileBufferIDs inputFiles) {
std::string errorInfo;
llvm::raw_fd_ostream out(outputPath, errorInfo,
llvm::sys::fs::F_Binary);
llvm::raw_fd_ostream::F_Binary);
if (out.has_error() || !errorInfo.empty()) {
TU->Ctx.Diags.diagnose(SourceLoc(), diag::error_opening_output, outputPath,