commit | d55e66916d72467ee6c1a2e169a4fbe0296b5400 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Mon Oct 07 13:58:05 2019 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Mon Oct 07 13:58:05 2019 +0000 |
tree | c931f0af8cd9be6d3b5a00dd28a1bc7813d066c6 | |
parent | a17aaa79baf22409f9a2ae88da768af6592ea63a [diff] |
AST - 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@373904 91177308-0d34-0410-b5e6-96231b3b80d8