[clang] [LifetimeSafety] Add origin tracking for lambda captures (PR #185216)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 11 03:12:15 PDT 2026


usx95 wrote:

Aah. You are right. I think this also touches upon moving from single origin -> OriginList  -> TreeOrigins. I feel a single OriginList would still be imprecise so moving directly to TreeOrigins as the next step would be a good approach ? This should also be inline with modelling  pointer-field sensitivity for user-defined structs. WDYT? 

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


More information about the cfe-commits mailing list