diff options
author | Fangrui Song <maskray@google.com> | 2019-08-05 05:43:48 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-08-05 05:43:48 +0000 |
commit | d9b948b6eb7362f36264b71795dab179906e36be (patch) | |
tree | 35f79bbd28bc13b6b4b5e07ffece5d0388964b47 /llvm/lib/LTO/LTO.cpp | |
parent | 1e4f2792faf1c14a6cfdbac3c6101b5faec5fbac (diff) | |
download | llvm-d9b948b6eb7362f36264b71795dab179906e36be.zip llvm-d9b948b6eb7362f36264b71795dab179906e36be.tar.gz llvm-d9b948b6eb7362f36264b71795dab179906e36be.tar.bz2 |
Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC
F_{None,Text,Append} are kept for compatibility since r334221.
llvm-svn: 367800
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r-- | llvm/lib/LTO/LTO.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp index 8d44ba2..a67fa94 100644 --- a/llvm/lib/LTO/LTO.cpp +++ b/llvm/lib/LTO/LTO.cpp @@ -1205,7 +1205,7 @@ public: std::error_code EC; raw_fd_ostream OS(NewModulePath + ".thinlto.bc", EC, - sys::fs::OpenFlags::F_None); + sys::fs::OpenFlags::OF_None); if (EC) return errorCodeToError(EC); WriteIndexToFile(CombinedIndex, OS, &ModuleToSummariesForIndex); @@ -1382,7 +1382,7 @@ lto::setupStatsFile(StringRef StatsFilename) { llvm::EnableStatistics(false); std::error_code EC; auto StatsFile = - llvm::make_unique<ToolOutputFile>(StatsFilename, EC, sys::fs::F_None); + llvm::make_unique<ToolOutputFile>(StatsFilename, EC, sys::fs::OF_None); if (EC) return errorCodeToError(EC); |