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)
commiteac950e4085c349f0ac06ecab4854e175c7d92d4
treefd8f85f4c8c5b5b05e65336492b1e0574d1c938f
parenta3fa104c8c41ae015b8d4c677bc7fc5b88957fe1
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.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229791 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/llvm/IR/DebugInfoMetadata.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/IR/AsmWriter.cpp
lib/IR/DebugInfoMetadata.cpp
lib/IR/LLVMContextImpl.h
test/Assembler/invalid-mdtemplatetypeparameter-missing-parent.ll [deleted file]
test/Assembler/invalid-mdtemplatetypeparameter-missing-type.ll
test/Assembler/invalid-mdtemplatevalueparameter-missing-parent.ll [deleted file]
test/Assembler/invalid-mdtemplatevalueparameter-missing-tag.ll
test/Assembler/invalid-mdtemplatevalueparameter-missing-type.ll
test/Assembler/invalid-mdtemplatevalueparameter-missing-value.ll
test/Assembler/mdtemplateparameter.ll
unittests/IR/MetadataTest.cpp