commit | d57d5c1b579d21196a502b86a40f0ace42545d29 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Oct 16 10:50:06 2019 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Oct 16 10:50:06 2019 +0000 |
tree | 2875d7e4e5ab6999f7351d985e63f429a5c8f33f | |
parent | 867c8db5cc6bf062c1324213656ddf1d7ddb5ad9 [diff] |
RewriteModernObjC - 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@374991 91177308-0d34-0410-b5e6-96231b3b80d8