ScoPDetection: Obtain a known free diagnostic ID
authorTobias Grosser <tobias@grosser.es>
Fri, 1 Apr 2016 07:15:19 +0000 (07:15 +0000)
committerTobias Grosser <tobias@grosser.es>
Fri, 1 Apr 2016 07:15:19 +0000 (07:15 +0000)
commitdb6db505c9bb85e25bc122da7b169b955b725696
tree9defd4c4295343369fc360c9f5c5d26e74888115
parent43b657b5c7440c5b85b031732fb0281fdfa07560
ScoPDetection: Obtain a known free diagnostic ID

... instead of hardcoding something that has been free at some point. This fixes
a crash triggered by r265084, where the diagnostic IDs have been shifted in a
way that resulted our hardcode ID to not be assigned any implementation.  Our ID
was likely already wrong earlier on, but this time we really crashed nicely.

llvm-svn: 265114
polly/lib/Analysis/ScopDetection.cpp