llvm-project
399f25f0 - [LifetimeSafety] Handle temporaries of non-trivial view types (#177878)

Commit
37 days ago
[LifetimeSafety] Handle temporaries of non-trivial view types (#177878) Fixes https://github.com/llvm/llvm-project/issues/177802 This enables the analysis to correctly track lifetimes through non-trivial view types that require temporary binding due to having a destructor. This is fixed by handling `MaterializeTemporaryExpr` even for lifetime-extended temporaries and fixing the flow of origins.
Author
Parents
Loading