diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-23 13:24:36 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-23 13:24:36 +0000 |
| commit | df0fd1c301d6a17c1cdeea1f19154e60a5b29f47 (patch) | |
| tree | c16b204957b1e18e962d1c34f8c559cff4f59111 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | 86497026a266f153d1c2b823fe7758acc4ab959d (diff) | |
[clangd] Use castAs<> instead of getAs<> 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/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
