diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-02 13:18:10 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-02 14:12:10 +0000 |
| commit | c56a85fde0d6568cb12858bcf1db93c3e590f5e3 (patch) | |
| tree | 22047ebdefec367db0b6d58f86990931a1152abe /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 9fd9d56dc6bdeeddf8cf2af834c6c39d00cd7244 (diff) | |
[llvm-profgen] Use cast<> instead of dyn_cast<> to avoid dereference of nullptr
The pointers are 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
