summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-02 13:19:11 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-02 14:12:11 +0000
commit01d5254f3de0e8870e3550a792801fa1da59b931 (patch)
tree12bfbbaaecfc676d816fa55b47f5ffa134ee4a3f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentc56a85fde0d6568cb12858bcf1db93c3e590f5e3 (diff)
[llvm-profgen] Use cast<> instead of dyn_cast<> to avoid dereference of nullptr
The pointer is dereferenced immediately, so assert the cast is correct instead of returning nullptr
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions