From 2b30f0ee7314e704a2500effb4974e4adb7c01d5 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Mon, 5 Aug 2019 17:23:23 +0000 Subject: [PATCH] Revert "Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC" This reverts commit 58c814614d2ac69bcf79b09543505fac80ada4e6. Fixes build breakage using LLVM<7. llvm-svn: 367893 --- libclc/utils/prepare-builtins.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libclc/utils/prepare-builtins.cpp b/libclc/utils/prepare-builtins.cpp index 550b5971913..de1e804d6fc 100644 --- a/libclc/utils/prepare-builtins.cpp +++ b/libclc/utils/prepare-builtins.cpp @@ -95,10 +95,10 @@ int main(int argc, char **argv) { std::error_code EC; #if HAVE_LLVM >= 0x0600 std::unique_ptr Out( - new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); + new ToolOutputFile(OutputFilename, EC, sys::fs::F_None)); #else std::unique_ptr Out( - new tool_output_file(OutputFilename, EC, sys::fs::OF_None)); + new tool_output_file(OutputFilename, EC, sys::fs::F_None)); #endif if (EC) { errs() << EC.message() << '\n';