aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2021-07-20 07:54:58 -0700
committerMichael Reeves <reeves.87@gmail.com>2021-09-27 13:02:39 -0400
commitba48db71fe2b01bebc8d4ca6eae925dcce92676a (patch)
treeaaa96a5fc7a1c859800e9a007e133f993292fb05
parent3b24be28d60e5d087d489692ea6e106acac1d8a6 (diff)
Fix build with upcoming llvm 13
llvm::sys::fs::F_None was removed (cherry picked from commit fca73257a803dd8d0524e2e0d6927733c500be78)
-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();
}