[polly] r210847 - Fix the polly build.

Rafael Espindola rafael.espindola at gmail.com
Thu Jun 12 15:37:15 PDT 2014


Author: rafael
Date: Thu Jun 12 17:37:15 2014
New Revision: 210847

URL: http://llvm.org/viewvc/llvm-project?rev=210847&view=rev
Log:
Fix the polly build.

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=210847&r1=210846&r2=210847&view=diff
==============================================================================
--- polly/trunk/lib/Exchange/JSONExporter.cpp (original)
+++ polly/trunk/lib/Exchange/JSONExporter.cpp Thu Jun 12 17:37:15 2014
@@ -194,7 +194,7 @@ bool JSONImporter::runOnScop(Scop &scop)
   errs() << "Reading JScop '" << R.getNameStr() << "' in function '"
          << FunctionName << "' from '" << FileName << "'.\n";
   std::unique_ptr<MemoryBuffer> result;
-  error_code ec = MemoryBuffer::getFile(FileName, result);
+  std::error_code ec = MemoryBuffer::getFile(FileName, result);
 
   if (ec) {
     errs() << "File could not be read: " << ec.message() << "\n";





More information about the llvm-commits mailing list