summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-01-23 12:57:12 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-01-23 12:57:12 +0000
commit86497026a266f153d1c2b823fe7758acc4ab959d (patch)
treeca6431be90d155fa7664977ea5b28724c24b4d23 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp
parent946f29028e063c768dc9b8c6e87c2eb584993df6 (diff)
[clang-tidy] Use cast<>/castAs<> instead of dyn_cast<>/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