diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2015-11-24 19:15:11 +0000 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2015-11-24 19:15:11 +0000 |
commit | c1986638a7375e984a68aa054858deeee8878477 (patch) | |
tree | 6334a353ba36ff83ed9e5dd9aaaa43e104aceafc /llvm/lib/CodeGen/LiveVariables.cpp | |
parent | 860e29e0c372fba6d8079664887bf16ada71cefa (diff) | |
download | bcm5719-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