AI review of 2026-10-26_12-25-09-2ab05008443d-results.txt PR: #8964 https://github.com/cppcheck-opensource/cppcheck/pull/8964 Tested: 2ab05008443d89432446694a94a7db74eeb7e134 Merge base: 1516cd2c2dc4b5a44b63576637cd53bc423dcaf1 Reviewed: 2026-11-01 14:21:16 UTC Model: claude-opus-5-5 (effort high) Results: 1 reviewed of 1 in the report Verdicts: 1 regression Tokens: 1705 input, 0 cache read, 1217 cache write, 1188 output The verdicts are written by AI and can be wrong. ---- 1 / 1 ---- Verdict: REGRESSION (medium confidence) Package: https://ftp.debian.org/debian/pool/main/k/kleidiai/kleidiai_1.32.0+ds.orig.tar.xz Result: main ARM-software-kleidiai-7b73599/test/reference/matmul.cpp:95:17: warning: Member variable 'MatMulEntry::fn' has no initializer. [uninitMemberVarNoCtor] Explanation: `MatMulAnyFn` is `decltype(&matmul_any_type)`, a plain function pointer. The function returns `Buffer` by value, so `fn` is not a reference member. `MatMulEntry` has no constructor and no default member initializer for `fn`, so a default-constructed instance would leave `fn` uninitialized. That is exactly what `uninitMemberVarNoCtor` reports. The PR drops the guard that checked for a real `&`/`&&` on the member declaration and relies on `var.isReference()` alone. Cppcheck evidently marks this function-pointer member as a reference, so the struct is wrongly treated as non-default-constructible and the warning is suppressed. The warning disappears because Cppcheck misclassifies the member, not because it understands the code better, so this looks like a lost true positive.