summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2015-11-24 19:15:11 +0000
committerDevin Coughlin <dcoughlin@apple.com>2015-11-24 19:15:11 +0000
commitc1986638a7375e984a68aa054858deeee8878477 (patch)
tree6334a353ba36ff83ed9e5dd9aaaa43e104aceafc /llvm/lib/CodeGen/LiveVariables.cpp
parent860e29e0c372fba6d8079664887bf16ada71cefa (diff)
downloadbcm5719-llvm-c1986638a7375e984a68aa054858deeee8878477.tar.gz
bcm5719-llvm-c1986638a7375e984a68aa054858deeee8878477.zip
[analyzer] Pass value expression for inlined defensive checks when binding null to nonnull.
The nullability checker was not suppressing false positives resulting from inlined defensive checks when null was bound to a nonnull variable because it was passing the entire bind statement rather than the value expression to trackNullOrUndefValue(). This commit changes that checker to synactically match on the bind statement to extract the value expression so it can be passed to trackNullOrUndefValue(). rdar://problem/23575439 llvm-svn: 254007
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud