[polly] r367800 - Rename F_{None, Text, Append} to OF_{None, Text, Append}. NFC
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 4 22:43:49 PDT 2019
Author: maskray
Date: Sun Aug 4 22:43:48 2019
New Revision: 367800
URL: http://llvm.org/viewvc/llvm-project?rev=367800&view=rev
Log:
Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC
F_{None,Text,Append} are kept for compatibility since r334221.
Modified:
polly/trunk/lib/Exchange/JSONExporter.cpp
polly/trunk/lib/Support/DumpModulePass.cpp
Modified: polly/trunk/lib/Exchange/JSONExporter.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Exchange/JSONExporter.cpp?rev=367800&r1=367799&r2=367800&view=diff
==============================================================================
--- polly/trunk/lib/Exchange/JSONExporter.cpp (original)
+++ polly/trunk/lib/Exchange/JSONExporter.cpp Sun Aug 4 22:43:48 2019
@@ -178,7 +178,7 @@ static void exportScop(Scop &S) {
// Write to file.
std::error_code EC;
- ToolOutputFile F(FileName, EC, llvm::sys::fs::F_Text);
+ ToolOutputFile F(FileName, EC, llvm::sys::fs::OF_Text);
std::string FunctionName = S.getFunction().getName();
errs() << "Writing JScop '" << S.getNameStr() << "' in function '"
Modified: polly/trunk/lib/Support/DumpModulePass.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/DumpModulePass.cpp?rev=367800&r1=367799&r2=367800&view=diff
==============================================================================
--- polly/trunk/lib/Support/DumpModulePass.cpp (original)
+++ polly/trunk/lib/Support/DumpModulePass.cpp Sun Aug 4 22:43:48 2019
@@ -63,7 +63,7 @@ public:
std::unique_ptr<ToolOutputFile> Out;
std::error_code EC;
- Out.reset(new ToolOutputFile(Dumpfile, EC, sys::fs::F_None));
+ Out.reset(new ToolOutputFile(Dumpfile, EC, sys::fs::OF_None));
if (EC) {
errs() << EC.message() << '\n';
return false;
More information about the llvm-commits
mailing list