commit | 7fc84cdab92b37e220ddd495857b3ef4cebed5ea | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Mon Oct 07 16:42:25 2019 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Mon Oct 07 16:42:25 2019 +0000 |
tree | f18bd3821262e9e6313d4e0b689c12831ba63b6d | |
parent | cb574e1588c197f809f0877f647f414a5baaf13f [diff] |
Codegen - 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@373918 91177308-0d34-0410-b5e6-96231b3b80d8