aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-xray/xray-converter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-xray/xray-converter.cpp')
-rw-r--r--tools/llvm-xray/xray-converter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-xray/xray-converter.cpp b/tools/llvm-xray/xray-converter.cpp
index dfc757e0f276..7258245b95cc 100644
--- a/tools/llvm-xray/xray-converter.cpp
+++ b/tools/llvm-xray/xray-converter.cpp
@@ -387,8 +387,8 @@ static CommandRegistration Unused(&Convert, []() -> Error {
std::error_code EC;
raw_fd_ostream OS(ConvertOutput, EC,
ConvertOutputFormat == ConvertFormats::BINARY
- ? sys::fs::OpenFlags::F_None
- : sys::fs::OpenFlags::F_Text);
+ ? sys::fs::OpenFlags::OF_None
+ : sys::fs::OpenFlags::OF_Text);
if (EC)
return make_error<StringError>(
Twine("Cannot open file '") + ConvertOutput + "' for writing.", EC);