[clang] [clang][StaticAnalyzer] Add enclosing Decl information to bug reports of RawPtrRef(LocalVars|Member)Checker (PR #214102)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 6 02:26:22 PDT 2026


================

----------------
steakhal wrote:

So this file was submitted and practically never changed ever since.
The patch was made by Bence Babati - Early CodeChecker member. It's very likely that given the startup-like nature of the early days, that quality wasn't the first priority.

Given this, I second on that we should just switch to the naive proposed implementation.
So I think this is an action item for you @ziqingluo-90

---

The funny thing is that Anna Zaks had [this](https://reviews.llvm.org/D10305?id=35722#inline-108875) comment that was never addressed - that would have detected this issue class:
> ObjCMethod is not a FunctionDecl. Please, add a test case.


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


More information about the cfe-commits mailing list