[clang] [analyzer] Implemented the DanglingPtrDeref checker to detect use-after-scope lifetime errors (PR #209278)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 14 04:46:47 PDT 2026
================
@@ -806,6 +806,11 @@ def UseAfterLifetimeEnd : Checker<"UseAfterLifetimeEnd">,
Dependencies<[LifetimeModeling]>,
Documentation<NotDocumented>;
+def ReportDanglingPtrDeref : Checker<"ReportDanglingPtrDeref">,
----------------
steakhal wrote:
Let's address this in a followup commit. I agree that these are worth fixing before we would nominate this out of alpha. This is probably more important than adding documentation though.
https://github.com/llvm/llvm-project/pull/209278
More information about the cfe-commits
mailing list