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

@@ -558,7 +558,7 @@ llvm::raw_ostream &stats_os() {
// Try to open the file.
std::error_code EC;
auto fd_stream = std::make_unique<llvm::raw_fd_ostream>(
SILStatsOutputFile, EC, llvm::sys::fs::OpenFlags::F_Text);
SILStatsOutputFile, EC, llvm::sys::fs::OpenFlags::OF_Text);
if (!fd_stream->has_error() && !EC) {
stats_output_stream = {fd_stream.release(),
[](llvm::raw_ostream *d) { delete d; }};