summaryrefslogtreecommitdiff
path: root/libclc
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2021-04-28 18:18:35 -0700
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2021-04-30 11:00:03 -0700
commit518d955f9dd2f5f854006a71ff9c8b117a66548b (patch)
tree50b1ecaa70173ac5315f31bedeab5e24b7b86775 /libclc
parent499e89fc9119d901132bcc8ab460b1c161c22acc (diff)
downloadllvm-518d955f9dd2f5f854006a71ff9c8b117a66548b.tar.gz
Support: Stop using F_{None,Text,Append} compatibility synonyms, NFC
Stop using the compatibility spellings of `OF_{None,Text,Append}` left behind by 1f67a3cba9b09636c56e2109d8a35ae96dc15782. A follow-up will remove them. Differential Revision: https://reviews.llvm.org/D101650
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 de1e804d6fcf..550b5971913f 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::F_None));
+ new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
#else
std::unique_ptr<tool_output_file> Out(
- new tool_output_file(OutputFilename, EC, sys::fs::F_None));
+ new tool_output_file(OutputFilename, EC, sys::fs::OF_None));
#endif
if (EC) {
errs() << EC.message() << '\n';