]> granicus.if.org Git - llvm/commit
DebugInfo: Add MDTypeRefArray, to replace DITypeArray
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 6 Apr 2015 19:48:50 +0000 (19:48 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 6 Apr 2015 19:48:50 +0000 (19:48 +0000)
commit520ab696d0bc2096fbb62422364fae6e2807ca32
treefc9f07b2223de21f14fca01eadf6e680dca9c77e
parent0e89353f21ba90fc1e735397d845d6f18d420f89
DebugInfo: Add MDTypeRefArray, to replace DITypeArray

This array-like wrapper adapts `MDTuple` to have elements of `MDTypeRef`
(whereas `MDTypeArray` has elements of `MDType`).  This is necessary to
migrate code using `DITypeArray`.  The only use of this is
`MDSubroutineType`'s `getTypeArray()` accessor.

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