commit | d779f019c1215809fd65103f77f20026202bf35e | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Mon Oct 07 14:25:46 2019 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Mon Oct 07 14:25:46 2019 +0000 |
tree | aa7e3fc09900eb2216976bfe52e9cb5cdf8a7c9b | |
parent | 4000ede51f313536d1970321427e2282b7d33f5f [diff] |
Sema - 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373911 91177308-0d34-0410-b5e6-96231b3b80d8