[c++1z] P0490R0, NB comment GB 20: if std::tuple_size<T> is complete, use the
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 8 Dec 2016 03:24:55 +0000 (03:24 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 8 Dec 2016 03:24:55 +0000 (03:24 +0000)
commit208732e9545bf4b50095d4c9a7836512c366853c
treee52082bbdc9ab0799fe7478d9ebc6ec2bcb02cee
parent41217616a8ad0d7f1c35ba121a5fb2af9139c106
[c++1z] P0490R0, NB comment GB 20: if std::tuple_size<T> is complete, use the
tuple-like interpretation of decomposition declaration even if there is no
::value member. We already did this, anticipating this resolution, just update
comments and tweak a testcase.

llvm-svn: 289021
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/CXX/dcl.decl/dcl.decomp/p3.cpp