OSDN Git Service

DebugInfo: Simplify a few more wrappers
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 21:58:26 +0000 (21:58 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 21:58:26 +0000 (21:58 +0000)
commit26117d38cc1ac201effa73bfb962b6b90cae9d6b
tree09d558f6eaa99e46bad68854fd1c4da923f54a48
parent2c85db4642be66365cca86efa107902c767466eb
DebugInfo: Simplify a few more wrappers

This is almost NFC, but I'm removing some assertions against `nullptr`.
The assertions aren't worth all that much since we'll typically get
segfaults at the same site (and I imagine ASan catches this sort of
thing), and besides: the whole idea is to replace the `DIDescriptor`
hierarchy with raw pointers to the new one.

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