]> granicus.if.org Git - clang/commit
TreeTransform - silence static analyzer getAs<> null dereference warnings. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 5 Oct 2019 13:20:59 +0000 (13:20 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 5 Oct 2019 13:20:59 +0000 (13:20 +0000)
commit2fc657a8c2a3aab02b6b353c7e0fc90ebc9e6f40
treeb21344234368d998646477b8649859dc27316106
parentb2c2715c91c67ba5a05520149a16fc500f432aaf
TreeTransform - silence static analyzer getAs<> null dereference warnings. NFCI.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373826 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/TreeTransform.h