summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-09-26 11:09:08 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-09-26 11:09:08 +0000
commit2dcee966ad618437bbc9ad5a81f76507a678d512 (patch)
treead260bfe9071c888a498dc11a30689e788814200 /libcxx/include
parenta11668e87b9096c821ee9fd213e398e909b92965 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud