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

Gábor Horváth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Sep 24 07:14:03 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;
----------------
Xazax-hun wrote:

A bit unrelated, but I wonder if we actually need these indirections or we could store these fields directly. 

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


More information about the llvm-branch-commits mailing list