[all-commits] [llvm/llvm-project] a867cc: SemaDeclObjC - silence static analyzer getAs<> nul...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Oct 17 03:34:23 PDT 2019
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2019-10-17 (Thu, 17 Oct 2019)
SemaDeclObjC - 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.
More information about the All-commits