[clang] [analyzer] Implemented the DanglingPtrDeref checker to detect use-after-scope lifetime errors (PR #209278)

Benedek Kaibas via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 14 05:29:49 PDT 2026


================
@@ -806,6 +806,11 @@ def UseAfterLifetimeEnd : Checker<"UseAfterLifetimeEnd">,
   Dependencies<[LifetimeModeling]>,
   Documentation<NotDocumented>;
 
+def ReportDanglingPtrDeref : Checker<"ReportDanglingPtrDeref">,
----------------
benedekaibas wrote:

@NagyDonat thank you for taking your time and reviewing the PR, I appreciate it. The rename of the checker is done here: [f97acf3](https://github.com/llvm/llvm-project/pull/209278/commits/f97acf33bb22242727237d25a0bc58158daf4aec)

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


More information about the cfe-commits mailing list