aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.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/Commands/CommandObjectThread.cpp
parent946f29028e063c768dc9b8c6e87c2eb584993df6 (diff)
downloadllvm-86497026a266f153d1c2b823fe7758acc4ab959d.zip
llvm-86497026a266f153d1c2b823fe7758acc4ab959d.tar.gz
llvm-86497026a266f153d1c2b823fe7758acc4ab959d.tar.bz2
[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/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions