summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-11 15:33:25 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-11 16:02:23 +0000
commit16c53ffcb9d040f0396bf1ab42ca366f7e1f1e4d (patch)
tree7baa4582dae8a0ba3a419684306edeb0af922fb8 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parentded237b58d56299f90ef44853ef79b039248b85e (diff)
downloadbcm5719-llvm-16c53ffcb9d040f0396bf1ab42ca366f7e1f1e4d.tar.gz
bcm5719-llvm-16c53ffcb9d040f0396bf1ab42ca366f7e1f1e4d.zip
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced immediately below and castAs will perform the null assertion for us.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud