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)
commita9f0a8d32563e7f87dab56c5b371dcf618dc7f29
tree98c70104b3253d28a59df9b017edd830bffe8abc
parent4c2b0781a5748620adc5529cd986f3f2a7d32b80
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`.

llvm-svn: 229926
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/unittests/IR/MetadataTest.cpp