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)
commitc755128673b035567f712a5afea7a5f1a24bf4f2
tree7032159915858b8fd7c01f1214ccd321d7234504
parent9d1cf4c1663ccd3c6b6168973215fad0f297ca35
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.

llvm-svn: 234256
clang/lib/CodeGen/CGDebugInfo.cpp