SemaExceptionSpec - silence static analyzer getAs<> null dereference warnings. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 21 Oct 2019 18:28:31 +0000 (18:28 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 21 Oct 2019 18:28:31 +0000 (18:28 +0000)
commitafb163f53ad567d72757e05c95e4059d3eb8de24
tree5996ee42fbef5c303c1b929fb195abe2650eb239
parent0cfd9e5b580f06d63be7054ba4efa0524011f096
SemaExceptionSpec - silence static analyzer getAs<> null dereference warnings. NFCI.

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

llvm-svn: 375440
clang/lib/Sema/SemaExceptionSpec.cpp