[polly] r202056 - Update for llvm api change.
Rafael Espindola
rafael.espindola at gmail.com
Mon Feb 24 10:21:12 PST 2014
Author: rafael
Date: Mon Feb 24 12:21:12 2014
New Revision: 202056
URL: http://llvm.org/viewvc/llvm-project?rev=202056&view=rev
Log:
Update for llvm api change.
Modified:
polly/trunk/lib/Exchange/JSONExporter.cpp
Modified: polly/trunk/lib/Exchange/JSONExporter.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Exchange/JSONExporter.cpp?rev=202056&r1=202055&r2=202056&view=diff
==============================================================================
--- polly/trunk/lib/Exchange/JSONExporter.cpp (original)
+++ polly/trunk/lib/Exchange/JSONExporter.cpp Mon Feb 24 12:21:12 2014
@@ -132,7 +132,7 @@ bool JSONExporter::runOnScop(Scop &scop)
// Write to file.
std::string ErrInfo;
- tool_output_file F(FileName.c_str(), ErrInfo, llvm::sys::fs::F_None);
+ tool_output_file F(FileName.c_str(), ErrInfo, llvm::sys::fs::F_Text);
std::string FunctionName = R.getEntry()->getParent()->getName();
errs() << "Writing JScop '" << R.getNameStr() << "' in function '"
More information about the llvm-commits
mailing list