aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorShafik Yaghmour <shafik.yaghmour@intel.com>2022-08-26 09:12:29 -0700
committerShafik Yaghmour <shafik.yaghmour@intel.com>2022-08-26 09:40:43 -0700
commit21dfe482e13e3b64801372f8b3db75eeb85b3135 (patch)
tree7dd9be026dd2db6e93237e516818fec2438f001d /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parentf9445ae75c55ce4a0ff33bdaedefee00b9a27704 (diff)
downloadllvm-21dfe482e13e3b64801372f8b3db75eeb85b3135.zip
llvm-21dfe482e13e3b64801372f8b3db75eeb85b3135.tar.gz
llvm-21dfe482e13e3b64801372f8b3db75eeb85b3135.tar.bz2
[Clang] Fix assert in Sema::LookupTemplateName so that it does not attempt an unconditional cast to TagType
In Sema::LookupTemplateName(...) seeks to assert that the ObjectType is complete or being defined. If the type is incomplete it will attempt to unconditionally cast it to a TagType and not all incomplete types are a TagType. For example the type could be void or it could be an IncompleteArray. This change adds an additional check to confirm it is a TagType before attempting to check if it is incomplete or being defined Differential Revision: https://reviews.llvm.org/D132712
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions