CGObjCMac - silence static analyzer dyn_cast<>/getAs<> null dereference warnings...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 2 Oct 2019 20:30:37 +0000 (20:30 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 2 Oct 2019 20:30:37 +0000 (20:30 +0000)
commit5a8b229c97d0586835f2a136798c9eeea391051a
treed34ff4e94b17071326cbc424e3e4c30b9dc8e860
parentc7be06797436f558e1c925fae1aba8629cd1f5bf
CGObjCMac - silence static analyzer dyn_cast<>/getAs<> null dereference warnings. NFCI.

The static analyzer is warning about potential null dereferences, but we should be able to use cast<>/castAs<> directly and if not assert will fire for us.

llvm-svn: 373520
clang/lib/CodeGen/CGObjCMac.cpp