DI: Strengthen some dyn_casts to DIDerivedType, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Jul 2015 19:17:20 +0000 (19:17 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Jul 2015 19:17:20 +0000 (19:17 +0000)
commitc63e16a6d466e60dab77f109056e9d8faba157e0
tree1ca800ac5fa1be2494b37292cd73e68284049d2e
parentab0a70d3a3e96c5af40010ca52199ccf2d7c20d8
DI: Strengthen some dyn_casts to DIDerivedType, NFC

The surrounding code proves in both cases that these must be
`DIDerivedType` if they're `DIDerivedTypeBase`, so strengthen the
`dyn_cast`s to the more specific type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243143 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp