diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-09-26 11:09:08 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-09-26 11:09:08 +0000 |
commit | 2dcee966ad618437bbc9ad5a81f76507a678d512 (patch) | |
tree | ad260bfe9071c888a498dc11a30689e788814200 /libcxx/include | |
parent | a11668e87b9096c821ee9fd213e398e909b92965 (diff) | |
download | bcm5719-llvm-2dcee966ad618437bbc9ad5a81f76507a678d512.tar.gz bcm5719-llvm-2dcee966ad618437bbc9ad5a81f76507a678d512.zip |
[ValueTracking] Silence static analyzer dyn_cast<Operator> null dereference warnings. NFCI.
The static analyzer is warning about a potential null dereferences, but since the pointer is only used in a switch statement for Operator::getOpcode() (with an empty default) then its easiest just to wrap this in a null test as the dyn_cast might return null here.
llvm-svn: 372962
Diffstat (limited to 'libcxx/include')
0 files changed, 0 insertions, 0 deletions