[clang] [LifetimeSafety] Infer [[clang::lifetimebound]] annotation (PR #171081)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 8 01:23:45 PST 2025


================
@@ -55,13 +55,14 @@ class LifetimeChecker {
   const LiveOriginsAnalysis &LiveOrigins;
   const FactManager &FactMgr;
   LifetimeSafetyReporter *Reporter;
+  AnalysisDeclContext ∾
----------------
usx95 wrote:

Let's be more explicit here and have `ASTContext&` instead of the `AnalysisDeclContext`

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


More information about the cfe-commits mailing list