Reapply "DebugInfo: Loosen DILexicalBlock constructor"
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 6 Apr 2015 21:46:46 +0000 (21:46 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 6 Apr 2015 21:46:46 +0000 (21:46 +0000)
commit23e0384808bf16208ba52e590f6e6260c5f0f05b
tree9850bb4d6f7513ee0c3bfe9c07cf25ebe78f30dc
parent1114e434b00f9559408610488fe2bde596f2cfbd
Reapply "DebugInfo: Loosen DILexicalBlock constructor"

This reverts commit r234225, reapplying r234222 in spirit.

This time, just include what the commit message actually describes:
loosen the `DILexicalBlock` constructor to require a
`MDLexicalBlockBase`, since that's what `DILexicalBlock` is wrapping.

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