aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-xray/xray-graph-diff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-xray/xray-graph-diff.cpp')
-rw-r--r--tools/llvm-xray/xray-graph-diff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-xray/xray-graph-diff.cpp b/tools/llvm-xray/xray-graph-diff.cpp
index a514be97f40b..116aa6869ec1 100644
--- a/tools/llvm-xray/xray-graph-diff.cpp
+++ b/tools/llvm-xray/xray-graph-diff.cpp
@@ -470,7 +470,7 @@ static CommandRegistration Unused(&GraphDiff, []() -> Error {
auto &GDR = *GDROrErr;
std::error_code EC;
- raw_fd_ostream OS(GraphDiffOutput, EC, sys::fs::OpenFlags::F_Text);
+ raw_fd_ostream OS(GraphDiffOutput, EC, sys::fs::OpenFlags::OF_Text);
if (EC)
return make_error<StringError>(
Twine("Cannot open file '") + GraphDiffOutput + "' for writing.", EC);