IR: Drop scope from MDTemplateParameter
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 19 Feb 2015 00:37:21 +0000 (00:37 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 19 Feb 2015 00:37:21 +0000 (00:37 +0000)
commit3d62bbacb1aa918944f0cc966381f44e13582b4a
tree11ef811398091ec13469ff532758c8d0ba7d2008
parentca929f24699a05cf22d4337278e5fea962799632
IR: Drop scope from MDTemplateParameter

Follow-up to r229740, which removed `DITemplate*::getContext()` after my
upgrade script revealed that scopes are always `nullptr` for template
parameters.  This is the other shoe: drop `scope:` from
`MDTemplateParameter` and its two subclasses.  (Note: a bitcode upgrade
would be pointless, since the hierarchy hasn't been moved into place.)

llvm-svn: 229791
15 files changed:
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/IR/AsmWriter.cpp
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/lib/IR/LLVMContextImpl.h
llvm/test/Assembler/invalid-mdtemplatetypeparameter-missing-parent.ll [deleted file]
llvm/test/Assembler/invalid-mdtemplatetypeparameter-missing-type.ll
llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-parent.ll [deleted file]
llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-tag.ll
llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-type.ll
llvm/test/Assembler/invalid-mdtemplatevalueparameter-missing-value.ll
llvm/test/Assembler/mdtemplateparameter.ll
llvm/unittests/IR/MetadataTest.cpp