mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update for LLVM change to raw_fd_ostream's option flags.
Swift SVN r6305
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user