DebugInfo: Move DIDerivedType accessors to MDDerivedType, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 23:36:36 +0000 (23:36 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 23:36:36 +0000 (23:36 +0000)
commit8ae5482d490af742ff34eb897d2d1752814bcb9a
tree87b890c9c2d871f00f7283114835e765e3869a6d
parentf265d42389f3669597da3c9ff2d6df72db0f2d10
DebugInfo: Move DIDerivedType accessors to MDDerivedType, NFC

Add accessors in `MDDerivedType` to downcast `getExtraData()`, matching
those in `DIDerivedType`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234816 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h
include/llvm/IR/DebugInfoMetadata.h