[clang] [LifetimeSafety] Add parameter lifetime tracking in CFG (PR #169320)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 24 06:17:46 PST 2025


usx95 wrote:

Right. This is unspecified and implementation dependent. GCC and Clang seem to diverge here: https://godbolt.org/z/5qhz5cWjd
Clang destructs in the reverse order of parameters. Added a test to capture the same.

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


More information about the cfe-commits mailing list