[clang] [clang][NFC] Avoid potential null dereferences (PR #127017)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 13 10:10:45 PST 2025


================
@@ -314,6 +314,7 @@ void MacOSKeychainAPIChecker::checkPreStmt(const CallExpr *CE,
     RegionArgIsBad = true;
   }
 
+  assert(ArgSM);
----------------
schittir wrote:

Thank you!

https://github.com/llvm/llvm-project/pull/127017


More information about the cfe-commits mailing list