diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-13 14:31:03 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-13 15:07:56 +0000 |
commit | 40311f9724953541ab7b755fb6a96b31c1e63f00 (patch) | |
tree | 9e7f6bea6e515f89789bdb7d1d0e367244ec71d1 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 7af67259cdd66811941514a263dd0f81c491d8f1 (diff) | |
download | bcm5719-llvm-40311f9724953541ab7b755fb6a96b31c1e63f00.tar.gz bcm5719-llvm-40311f9724953541ab7b755fb6a96b31c1e63f00.zip |
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointers are always dereferenced 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