[clang] [clang][docs] Add documentation for the DanglingPtrDeref checker (PR #216688)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 17 03:46:42 PDT 2026


https://github.com/steakhal requested changes to this pull request.

Have you built the docs using the `docs-clang-html` build target?
The examples only demonstrate use-after-scope cases. Is that the only class of bugs that this checker reports?
I think the checker has some limitations around passing compound objects holding a dangling pointer - would those raise warnings?

How does this checker relate to the inner ptr checker, the Malloc checker, and the stackaddr escape checkers? I think we should elaborate on that.

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


More information about the cfe-commits mailing list