diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-03 21:27:02 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-03 21:27:02 +0000 |
commit | d2d2e33f25d23dbd27d48428c70cdf62f896e75e (patch) | |
tree | 642e939d8c88919a9f339b395bcc6299e35ad998 /lldb/scripts/Python/python-wrapper.swig | |
parent | 204623e05c12dd137c2ffdda4876afd4fb66309f (diff) | |
download | llvm-d2d2e33f25d23dbd27d48428c70cdf62f896e75e.zip llvm-d2d2e33f25d23dbd27d48428c70cdf62f896e75e.tar.gz llvm-d2d2e33f25d23dbd27d48428c70cdf62f896e75e.tar.bz2 |
OverloadCandidate::getNumParams - silence static analyzer getAs<FunctionProtoType> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but we should be able to use castAs<FunctionProtoType> directly and if not assert will fire for us.
Also replaces an auto to make the type more obvious.
llvm-svn: 373665
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions