diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-11 15:33:25 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-11 16:02:23 +0000 |
commit | 16c53ffcb9d040f0396bf1ab42ca366f7e1f1e4d (patch) | |
tree | 7baa4582dae8a0ba3a419684306edeb0af922fb8 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | ded237b58d56299f90ef44853ef79b039248b85e (diff) | |
download | bcm5719-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/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions