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

Benedek Kaibas via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 12 14:03:46 PDT 2026


================
@@ -7,37 +7,38 @@
 
 using namespace clang;
 using namespace ento;
+using lifetime_modeling::isBoundToLifetimeSourceSet;
----------------
benedekaibas wrote:

I think I should move it inside the function scope and once there is more use of the function I can move it global.

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


More information about the cfe-commits mailing list