mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-30 08:45:00 +01:00
When initializing a C++ thunk parameter: * If we have an initializing expression, materialize a temporary and pass its address. * If we have a reference expression, pass its address directly. * If we have a value expression with a pointer value representation, pass the pointer. * Otherwise, create a new temporary and initialize it with a copy of the argument, and pass its address.