[clang] [LifetimeSafety] Handle escape through function call (PR #186126)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 1 02:54:30 PDT 2026


================
@@ -148,6 +151,9 @@ class AnalysisImpl
   /// An escaping origin (e.g., via return) makes the origin live with definite
   /// confidence, as it dominates this program point.
   Lattice transfer(Lattice In, const OriginEscapesFact &OEF) {
+    // CallEscapeFact should not affect liveness
----------------
Xazax-hun wrote:

End sentences with a full stop. 

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


More information about the cfe-commits mailing list