Fix polly build after LLVM r235327

llvm-svn: 235343
This commit is contained in:
Duncan P. N. Exon Smith 2015-04-20 20:28:43 +00:00
parent 3ae6251ceb
commit f06f583f1f
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ void getDebugLocation(const Region *R, unsigned &LineBegin, unsigned &LineEnd,
if (!DL)
continue;
DIScope Scope = cast<MDScope>(DL.getScope());
auto *Scope = cast<MDScope>(DL.getScope());
if (FileName.empty())
FileName = Scope->getFilename();