diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-02 13:19:11 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-02 14:12:11 +0000 |
| commit | 01d5254f3de0e8870e3550a792801fa1da59b931 (patch) | |
| tree | 12bfbbaaecfc676d816fa55b47f5ffa134ee4a3f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | c56a85fde0d6568cb12858bcf1db93c3e590f5e3 (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
