summaryrefslogtreecommitdiffstats
path: root/polly/lib
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib')
-rw-r--r--polly/lib/Exchange/JSONExporter.cpp2
-rw-r--r--polly/lib/Support/DumpModulePass.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp
index 6bf4198e904..a811cd5a2b8 100644
--- a/polly/lib/Exchange/JSONExporter.cpp
+++ b/polly/lib/Exchange/JSONExporter.cpp
@@ -181,7 +181,7 @@ static void exportScop(Scop &S) {
// Write to file.
std::error_code EC;
- tool_output_file F(FileName, EC, llvm::sys::fs::F_Text);
+ ToolOutputFile F(FileName, EC, llvm::sys::fs::F_Text);
std::string FunctionName = S.getFunction().getName();
errs() << "Writing JScop '" << S.getNameStr() << "' in function '"
diff --git a/polly/lib/Support/DumpModulePass.cpp b/polly/lib/Support/DumpModulePass.cpp
index 558088cf898..77ad71751fe 100644
--- a/polly/lib/Support/DumpModulePass.cpp
+++ b/polly/lib/Support/DumpModulePass.cpp
@@ -65,9 +65,9 @@ public:
}
DEBUG(dbgs() << "Dumping module to " << Dumpfile << '\n');
- std::unique_ptr<tool_output_file> Out;
+ std::unique_ptr<ToolOutputFile> Out;
std::error_code EC;
- Out.reset(new tool_output_file(Dumpfile, EC, sys::fs::F_None));
+ Out.reset(new ToolOutputFile(Dumpfile, EC, sys::fs::F_None));
if (EC) {
errs() << EC.message() << '\n';
return false;
OpenPOWER on IntegriCloud