================ @@ -314,6 +314,7 @@ void MacOSKeychainAPIChecker::checkPreStmt(const CallExpr *CE, RegionArgIsBad = true; } + assert(ArgSM); ---------------- steakhal wrote:
I'm okay with this assert. It shouldn't change much though because the very next lookup would fail if this was a null pointer because we never store entries for null pointers. Thanks for the assert! https://github.com/llvm/llvm-project/pull/127017 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits