summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface
diff options
context:
space:
mode:
authorOleksandr T. <oleksandr.tarasiuk@outlook.com>2024-07-23 11:40:12 +0300
committerGitHub <noreply@github.com>2024-07-23 10:40:12 +0200
commit430b2545032db9de7898444502915f89e20f7c4c (patch)
tree82766a807e3a1f5ec476609f6898e44ae3272d4a /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface
parent229e11855983ead8c8e3d5421238dbd4acdf2d29 (diff)
[Clang] Do not attempt to access the `DefinitionData` of an incomplete type (#99998)
We were asserting here because we were trying to access the `DefinitionData` of an incomplete type in the `Visit` lambda in `CXXRecordDecl::hasSubobjectAtOffsetZeroOfEmptyBaseType`. The code that creates `FieldDecl`s always marks them as invalid if their type is incomplete, so checking whether the field decl whose type we’re about to look at is invalid fixes this issue. Fixes #99868.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions