]> granicus.if.org Git - clang/commit
CGDebugInfo: Stop using DIDescriptor::is*() and auto-casting
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 6 Apr 2015 23:21:33 +0000 (23:21 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 6 Apr 2015 23:21:33 +0000 (23:21 +0000)
commitb32dd42dbb0a364559d70729e2fce415c77c66d1
tree4720b2eaf0b52b095590e5563d731a9d49eaac88
parentadca9604f182d96f3acf6fc58dfc77d23ebd6625
CGDebugInfo: Stop using DIDescriptor::is*() and auto-casting

The clang edition of r234255: use built-in `isa<>`, `dyn_cast<>`, etc.,
and only build `DIDescriptor`s from pointers that are correctly typed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234256 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp