[clang] [analyzer] Implement LifetimeModeling checker and refactor UseAfterLifetimeEnd (PR #205951)

Benedek Kaibas via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 7 08:32:43 PDT 2026


================
@@ -788,9 +788,15 @@ def SmartPtrChecker: Checker<"SmartPtr">,
   Dependencies<[SmartPtrModeling]>,
   Documentation<HasDocumentation>;
 
+def LifetimeModeling : Checker<"LifetimeModeling">,
+  HelpText<"Model [[clang::lifetimebound]] annotations for lifetime analysis">,
----------------
benedekaibas wrote:

I have modified the `HelpText` based on the suggested change and how other modeling checkers have their `HelpText`. [3a16279](https://github.com/llvm/llvm-project/pull/205951/commits/3a162799157deab6e7a879bb33766cf61a294514)

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


More information about the cfe-commits mailing list