diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-03 21:47:42 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-03 21:47:42 +0000 |
commit | 9588ae772d6a3742e8429d86d65e3fd68f6d9444 (patch) | |
tree | a401d96d60ce1b02eafbe5e42ebf744fa95e3dee /lldb/scripts/Python/python-wrapper.swig | |
parent | 288079aafdbde5d408db86a697ee5b19a0902f1d (diff) | |
download | llvm-9588ae772d6a3742e8429d86d65e3fd68f6d9444.zip llvm-9588ae772d6a3742e8429d86d65e3fd68f6d9444.tar.gz llvm-9588ae772d6a3742e8429d86d65e3fd68f6d9444.tar.bz2 |
ASTContext - silence static analyzer getAs<> null dereference warnings. NFCI.
The static analyzer is warning about potential null dereferences, but we should be able to use castAs<> directly and if not assert will fire for us.
We can also remove a number of explicit asserts and reply on the internal asserts in castAs<>
llvm-svn: 373667
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions