diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-09-26 17:11:02 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-09-26 17:11:02 +0000 |
commit | 5c6ea055f6d4f0a976c82cec350b332a03ad42cb (patch) | |
tree | 95956fa10e20e86a1993e63b39064d16f058cfab /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
parent | f1e1451946502dd8f808c251bf4c3b571e80fd9d (diff) | |
download | bcm5719-llvm-5c6ea055f6d4f0a976c82cec350b332a03ad42cb.tar.gz bcm5719-llvm-5c6ea055f6d4f0a976c82cec350b332a03ad42cb.zip |
TGParser::ParseOperation - silence static analyzer dyn_cast<TypedInit> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but we should be able to use cast<TypedInit> directly and if not assert will fire for us.
I've also pulled out the repeated getType() call which was the only user of the pointer.
llvm-svn: 372997
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions