summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2021-10-27 11:24:00 -0400
committerAaron Ballman <aaron@aaronballman.com>2021-10-27 11:25:07 -0400
commit9fcca8b470fb92466ec4cada9fbeacc90096116d (patch)
tree9a30b14c26e7db49d93c14d3dfff226ac1e699a3 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parenta8297ed994301dbf34f259690e9f5fa8fce96ea2 (diff)
Fix consteval crash when transforming 'this' expressions
When reaching the end of a function body, we need to ensure that the ExitFunctionBodyRAII object is destroyed before we pop the declaration context for the function. Exiting the function body causes us to handle immediate invocations, which involves template transformations that need to know the correct type for this. This addresses PR48235.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions