diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-14 16:30:05 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-14 16:31:17 +0000 |
commit | cfd366ba74c566038c6f417da9c9becc321fd737 (patch) | |
tree | 3cdaea7a900762799b54f05831a14b8027bb2965 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py | |
parent | ab9dbc1d124cdf288474073f5233e3fd6ee8e9c3 (diff) | |
download | bcm5719-llvm-cfd366ba74c566038c6f417da9c9becc321fd737.tar.gz bcm5719-llvm-cfd366ba74c566038c6f417da9c9becc321fd737.zip |
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced immediately in all cases and castAs will perform the null assertion for us.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions