[llvm-branch-commits] [clang] [LifetimeSafety] Introduce a liveness-based lifetime policy (PR #159991)

Utkarsh Saxena via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Sep 24 07:52:43 PDT 2025


================
@@ -138,7 +148,7 @@ class LifetimeSafetyAnalysis {
   std::unique_ptr<LifetimeFactory> Factory;
   std::unique_ptr<FactManager> FactMgr;
   std::unique_ptr<LoanPropagationAnalysis> LoanPropagation;
-  std::unique_ptr<ExpiredLoansAnalysis> ExpiredLoans;
+  std::unique_ptr<LiveOriginAnalysis> LiveOrigins;
----------------
usx95 wrote:

We cannot store these directly as we have a forward decl to these in `.h` and a full definition is only available in the implementation file :/ 

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


More information about the llvm-branch-commits mailing list