[clang] [analyzer] Implemented the DanglingPtrDeref checker to detect use-after-scope lifetime errors (PR #206460)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 12 07:11:22 PDT 2026
https://github.com/steakhal commented:
This was a greta patch to read. Nicely scoped, well written. LLVM conventions all the way.
I had some tiny minor comments sprinkled, and I suggested some patches in my earlier comment of which some parts should semantically be here - for example, the bug reporter visitor for highlighting when the destructor runs (the closing curly).
It might be also valuable to highlight the declaration of the variable because that and the curly influences - bounds - the lifetime of the object.
https://github.com/llvm/llvm-project/pull/206460
More information about the cfe-commits
mailing list