diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-07 00:29:05 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-07 00:29:05 +0000 |
commit | 7cf5fedbada3a8258e762f369100e3f3064b81cb (patch) | |
tree | c31aaa42ec04edfc23fd77f29455c2b0cc6ecaae /polly/lib | |
parent | 742dbf1e1dbfd21573159e2a6af8cedaa74947bb (diff) | |
download | bcm5719-llvm-7cf5fedbada3a8258e762f369100e3f3064b81cb.tar.gz bcm5719-llvm-7cf5fedbada3a8258e762f369100e3f3064b81cb.zip |
Fix polly build after LLVM r234263
llvm-svn: 234266
Diffstat (limited to 'polly/lib')
-rw-r--r-- | polly/lib/Analysis/ScopDetectionDiagnostic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopDetectionDiagnostic.cpp b/polly/lib/Analysis/ScopDetectionDiagnostic.cpp index d68cb73ab2e..07c2c75039a 100644 --- a/polly/lib/Analysis/ScopDetectionDiagnostic.cpp +++ b/polly/lib/Analysis/ScopDetectionDiagnostic.cpp @@ -72,7 +72,7 @@ void getDebugLocation(const Region *R, unsigned &LineBegin, unsigned &LineEnd, if (!DL) continue; - DIScope Scope(DL.getScope()); + DIScope Scope = cast<MDScope>(DL.getScope()); if (FileName.empty()) FileName = Scope.getFilename(); |