[PATCH] D56974: [SemaCXX] Fix ICE with structure bindings to members of template

2019-01-27 Thread Daniele Di Proietto via Phabricator via cfe-commits
ddiproietto added a comment. Sorry, I don't have commit access, can someone push this, please? Also, should this be backported to 8.x? I'm actually interested in a backport up to 5.x, if possible. If not possible, that's fine too. Thanks! Cheers, Daniele Repository: rC Clang CHANGES SINCE

[PATCH] D56974: [SemaCXX] Fix ICE with structure bindings to members of template

2019-01-20 Thread Daniele Di Proietto via Phabricator via cfe-commits
ddiproietto created this revision. ddiproietto added a reviewer: clang. ddiproietto added a project: clang. Herald added a subscriber: cfe-commits. Trying to use structure binding with a structure that doesn't implement std::tuple_size, should unpack the data members. When the struct is a template