[clang] [llvm] [analyzer] Implemented a base of detecing lifetimebound annotation (PR #200145)

Benedek Kaibas via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 21 16:35:38 PDT 2026


================
@@ -788,6 +788,10 @@ def SmartPtrChecker: Checker<"SmartPtr">,
   Dependencies<[SmartPtrModeling]>,
   Documentation<HasDocumentation>;
 
+def LifetimeAnnotations : Checker<"LifetimeAnnotations">,
+  HelpText<"Check for lifetime violations using lifetime annotations">,
----------------
benedekaibas wrote:

Applied changes here: [daeec1a](https://github.com/llvm/llvm-project/pull/200145/commits/daeec1aede47252c87540cec3f2e2c99c1c23acd)

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


More information about the cfe-commits mailing list