Updated F_Text and F_Append

These enum cases were also updated to OF_Text and OF_Append.
This commit is contained in:
Evan Wilde
2021-06-23 14:29:52 -07:00
parent 0aafd09835
commit 8112cda531
6 changed files with 9 additions and 9 deletions

View File

@@ -707,7 +707,7 @@ bool swift::emitLoadedModuleTraceIfNeeded(ModuleDecl *mainModule,
if (loadedModuleTracePath.empty())
return false;
std::error_code EC;
llvm::raw_fd_ostream out(loadedModuleTracePath, EC, llvm::sys::fs::F_Append);
llvm::raw_fd_ostream out(loadedModuleTracePath, EC, llvm::sys::fs::OF_Append);
if (out.has_error() || EC) {
ctxt.Diags.diagnose(SourceLoc(), diag::error_opening_output,