summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-14 13:28:46 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-14 14:00:37 +0000
commit25dc5c7cd159522ec2375544f473c757ee13a03b (patch)
tree28d96452f0f489c42ffee09f1513b7c04b26bca8 /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
parent7ec7a6e5bfa745c285d5c651af02b93f2cb923e1 (diff)
downloadbcm5719-llvm-25dc5c7cd159522ec2375544f473c757ee13a03b.tar.gz
bcm5719-llvm-25dc5c7cd159522ec2375544f473c757ee13a03b.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/source-manager/TestSourceManager.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud