aboutsummaryrefslogtreecommitdiff
path: root/libclc
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2019-08-05 17:23:23 +0000
committerJan Vesely <jan.vesely@rutgers.edu>2019-08-05 17:23:23 +0000
commit2b30f0ee7314e704a2500effb4974e4adb7c01d5 (patch)
treecdc5af7058792ce95b1af2ab181aa562c353f862 /libclc
parent86a98baa132f9347e41d19213b35d9b9b02bafe2 (diff)
downloadllvm-2b30f0ee7314e704a2500effb4974e4adb7c01d5.zip
llvm-2b30f0ee7314e704a2500effb4974e4adb7c01d5.tar.gz
llvm-2b30f0ee7314e704a2500effb4974e4adb7c01d5.tar.bz2
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
Diffstat (limited to 'libclc')
-rw-r--r--libclc/utils/prepare-builtins.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libclc/utils/prepare-builtins.cpp b/libclc/utils/prepare-builtins.cpp
index 550b597..de1e804 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<ToolOutputFile> Out(
- new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
+ new ToolOutputFile(OutputFilename, EC, sys::fs::F_None));
#else
std::unique_ptr<tool_output_file> 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';