aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-ml
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 /llvm/tools/llvm-ml
parent499e89fc9119d901132bcc8ab460b1c161c22acc (diff)
downloadllvm-518d955f9dd2f5f854006a71ff9c8b117a66548b.zip
llvm-518d955f9dd2f5f854006a71ff9c8b117a66548b.tar.gz
llvm-518d955f9dd2f5f854006a71ff9c8b117a66548b.tar.bz2
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 'llvm/tools/llvm-ml')
-rw-r--r--llvm/tools/llvm-ml/llvm-ml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ml/llvm-ml.cpp b/llvm/tools/llvm-ml/llvm-ml.cpp
index 1292f40..1a63017 100644
--- a/llvm/tools/llvm-ml/llvm-ml.cpp
+++ b/llvm/tools/llvm-ml/llvm-ml.cpp
@@ -96,7 +96,7 @@ static Triple GetTriple(StringRef ProgName, opt::InputArgList &Args) {
static std::unique_ptr<ToolOutputFile> GetOutputStream(StringRef Path) {
std::error_code EC;
- auto Out = std::make_unique<ToolOutputFile>(Path, EC, sys::fs::F_None);
+ auto Out = std::make_unique<ToolOutputFile>(Path, EC, sys::fs::OF_None);
if (EC) {
WithColor::error() << EC.message() << '\n';
return nullptr;