summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-12-08 16:37:05 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-12-08 16:37:20 +0000
commit25f5df7e0bc950ad244e8da000ce4248bd41c140 (patch)
tree1e3c02ca7b4308a1a95f1e16c1c1b3e1b9c90c8f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent111ae220a3bff944e10a0760ce344630f4efc40d (diff)
SemaType.cpp - use castAs<> instead of getAs<> for dereferenced pointers
Fix static analyzer warnings - castAs<> will assert the type is correct, but getAs<> just returns null, which would just result in a dereferenced null pointer.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions