[polly] r235343 - Fix polly build after LLVM r235327

Duncan P. N. Exon Smith dexonsmith at apple.com
Mon Apr 20 13:28:43 PDT 2015


Author: dexonsmith
Date: Mon Apr 20 15:28:43 2015
New Revision: 235343

URL: http://llvm.org/viewvc/llvm-project?rev=235343&view=rev
Log:
Fix polly build after LLVM r235327

Modified:
    polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp

Modified: polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp?rev=235343&r1=235342&r2=235343&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp Mon Apr 20 15:28:43 2015
@@ -72,7 +72,7 @@ void getDebugLocation(const Region *R, u
       if (!DL)
         continue;
 
-      DIScope Scope = cast<MDScope>(DL.getScope());
+      auto *Scope = cast<MDScope>(DL.getScope());
 
       if (FileName.empty())
         FileName = Scope->getFilename();





More information about the llvm-commits mailing list