visitLocalInitializer() pops the pointer from the stack again, but we might be called in a situation where the caller would actually like to use the value.
Details
Details
- Reviewers
aaron.ballman erichkeane tahonermann shafik
Diff Detail
Diff Detail
Differential D153653
[clang][Interp] Make CXXTemporaryObjectExprs leave a value behind tbaeder on Jun 23 2023, 11:14 AM. Authored by
Details
visitLocalInitializer() pops the pointer from the stack again, but we might be called in a situation where the caller would actually like to use the value.
Diff Detail |
Could you just pass DiscardResult to visitLocalInitializer