This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Don't dereference the array bound to a reference.
ClosedPublic

Authored by NoQ on Jan 12 2017, 3:20 AM.

Details

Summary

An attempt to fix pr31592 (https://llvm.org/bugs/show_bug.cgi?id=31592), more sensible than what i did in the hot pre-4.0-release fix in r291754 (http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20170109/182399.html), which this patch reverts.

That's the place where we model member array initializers, and i'm adding a special case for reference-to-array initializers.

Diff Detail

Event Timeline

NoQ updated this revision to Diff 84097.Jan 12 2017, 3:20 AM
NoQ retitled this revision from to [analyzer] Don't dereference the array bound to a reference..
NoQ updated this object.
NoQ added a subscriber: cfe-commits.
This revision was automatically updated to reflect the committed changes.