summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-11 14:47:17 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-11 16:02:22 +0000
commitded237b58d56299f90ef44853ef79b039248b85e (patch)
treea13fea568805eb882924091be1ff6710bca7c82e /lldb/packages/Python/lldbsuite/test/python_api
parent2740b2d5d5f0f56c87024555bdcae4f91e595ddb (diff)
downloadbcm5719-llvm-ded237b58d56299f90ef44853ef79b039248b85e.tar.gz
bcm5719-llvm-ded237b58d56299f90ef44853ef79b039248b85e.zip
Fix "pointer is null" static analyzer warning. 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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud