summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-14 16:30:05 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-14 16:31:17 +0000
commitcfd366ba74c566038c6f417da9c9becc321fd737 (patch)
tree3cdaea7a900762799b54f05831a14b8027bb2965 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py
parentab9dbc1d124cdf288474073f5233e3fd6ee8e9c3 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud