summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface
diff options
context:
space:
mode:
authorTimm Baeder <tbaeder@redhat.com>2024-08-16 08:37:46 +0200
committerGitHub <noreply@github.com>2024-08-16 08:37:46 +0200
commit22219873987587d8b5d793ab5dea982a0887ac7c (patch)
treea435d24f4d96508ea9ec2913adcb22c1f17d23cf /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface
parent1900810b6fd7b913d04b23afd9cce7e83fff51d7 (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')
0 files changed, 0 insertions, 0 deletions