SemaTemplateDeduction - silence static analyzer getAs<> null dereference warnings...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 21 Oct 2019 19:08:31 +0000 (19:08 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 21 Oct 2019 19:08:31 +0000 (19:08 +0000)
commit502a509e478a5e6625b58d87b484aacd2387c64d
tree944209ee23c841aaec0feaee70424d174d80b24c
parent87cb734c04beab4731b51ff6763f5e63a9e604d6
SemaTemplateDeduction - 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: 375443
clang/lib/Sema/SemaTemplateDeduction.cpp