================ @@ -3187,7 +3131,7 @@ void MallocChecker::checkPreCall(const CallEvent &Call, if (!FD) return; - if (ChecksEnabled[CK_MallocChecker] && isFreeingCall(Call)) + if (MallocChecker.isEnabled() && isFreeingCall(Call)) ---------------- NagyDonat wrote:
`MallocChecker.isEnabled() &&` seems to be an ad-hoc unjustified check, we should probably remove it in a follow-up commit. https://github.com/llvm/llvm-project/pull/147080 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits