IR: Add missing null operand to MDSubroutineType
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 19 Feb 2015 23:25:21 +0000 (23:25 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 19 Feb 2015 23:25:21 +0000 (23:25 +0000)
commitaeb422f527e97acc6fe588a200323f0f3be958ff
tree49688d672abbded50b86b64415c681007b92c652
parent953c5c945803b5915e0c9ce55db176ad9a1093e1
IR: Add missing null operand to MDSubroutineType

Add missing `nullptr` from `MDSubroutineType`'s operands for
`MDCompositeTypeBase::getIdentifier()` (and add tests for all the other
unused fields).  This highlights just how crazy it is that
`MDSubroutineType` inherits from `MDCompositeTypeBase`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229926 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfoMetadata.cpp
unittests/IR/MetadataTest.cpp