diff options
| author | Timm Baeder <tbaeder@redhat.com> | 2024-08-16 08:37:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-16 08:37:46 +0200 |
| commit | 22219873987587d8b5d793ab5dea982a0887ac7c (patch) | |
| tree | a435d24f4d96508ea9ec2913adcb22c1f17d23cf /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp | |
| parent | 1900810b6fd7b913d04b23afd9cce7e83fff51d7 (diff) | |
[clang][Interp] Add scopes to conditional operator subexpressions (#104418)
We would otherwise try to destroy the variables from both branches after
the conditional operator was done.
However, doing so breaks the case where we create internal temporaries.
For those, add allocateTemporary(), which attaches the lifetime of the
temporary to the topmost scope. Since they never have record type, this
shouldn't create any issues.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
