aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2021-07-20 07:54:58 -0700
committerSergio Martins <smartins@kde.org>2021-07-20 07:54:58 -0700
commitfca73257a803dd8d0524e2e0d6927733c500be78 (patch)
tree9eb0e979bc2391346806b886cdf385cd2fcae8a2
parent9e0666edef6504c5f9ba34cc3360c7fd1dad159d (diff)
Fix build with upcoming llvm 13v1.10
llvm::sys::fs::F_None was removed
-rw-r--r--src/FixItExporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FixItExporter.cpp b/src/FixItExporter.cpp
index 0a016f2f..508a2b75 100644
--- a/src/FixItExporter.cpp
+++ b/src/FixItExporter.cpp
@@ -198,7 +198,7 @@ void FixItExporter::Export()
auto tuDiag = getTuDiag();
if (!tuDiag.Diagnostics.empty()) {
std::error_code EC;
- llvm::raw_fd_ostream OS(exportFixes, EC, llvm::sys::fs::F_None);
+ llvm::raw_fd_ostream OS(exportFixes, EC, llvm::sys::fs::OF_None);
llvm::yaml::Output YAML(OS);
YAML << getTuDiag();
}