[libclc] r367893 - Revert "Rename F_{None, Text, Append} to OF_{None, Text, Append}. NFC"
Jan Vesely via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 5 10:23:23 PDT 2019
Author: jvesely
Date: Mon Aug 5 10:23:23 2019
New Revision: 367893
URL: http://llvm.org/viewvc/llvm-project?rev=367893&view=rev
Log:
Revert "Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC"
This reverts commit 58c814614d2ac69bcf79b09543505fac80ada4e6.
Fixes build breakage using LLVM<7.
Modified:
libclc/trunk/utils/prepare-builtins.cpp
Modified: libclc/trunk/utils/prepare-builtins.cpp
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/utils/prepare-builtins.cpp?rev=367893&r1=367892&r2=367893&view=diff
==============================================================================
--- libclc/trunk/utils/prepare-builtins.cpp (original)
+++ libclc/trunk/utils/prepare-builtins.cpp Mon Aug 5 10:23:23 2019
@@ -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';
More information about the cfe-commits
mailing list