llvm-project/clang/test/CXX/drs
Reid Kleckner ed399a69e2 [Sema] Implement DR2386 for C++17 structured binding
Allow implementations to provide complete definitions of
std::tuple_size<T>, but to omit the 'value' member to signal that T is
not tuple-like. The Microsoft standard library implements
std::tuple_size<const T> this way.

If the value member exists, clang still validates that it is an ICE, but
if it does not, then the type is considered to not be tuple-like.

Fixes PR33236

Reviewers: rsmith

Differential Revision: https://reviews.llvm.org/D66040

llvm-svn: 369043
2019-08-15 19:45:28 +00:00
..
dr0xx.cpp Add missing diagnostic for explicit instantiation declarations naming 2019-04-26 01:51:07 +00:00
dr1xx.cpp DR674, PR38883, PR40238: Qualified friend lookup should look for a 2019-01-07 06:00:46 +00:00
dr2xx.cpp [c++20] Implement P0846R0: allow (ADL-only) calls to template-ids whose 2019-05-09 03:31:27 +00:00
dr3xx.cpp DR330: when determining whether a cast casts away constness, consider 2018-07-18 20:13:36 +00:00
dr4xx.cpp Fix handling of class member access into a vector type. 2019-08-14 22:57:50 +00:00
dr5xx.cpp DR674, PR38883, PR40238: Qualified friend lookup should look for a 2019-01-07 06:00:46 +00:00
dr6xx.cpp C++ DR712 and others: handle non-odr-use resulting from an lvalue-to-rvalue conversion applied to a member access or similar not-quite-trivial lvalue expression. 2019-06-14 17:46:37 +00:00
dr7xx.cpp C++ DR712 and others: handle non-odr-use resulting from an lvalue-to-rvalue conversion applied to a member access or similar not-quite-trivial lvalue expression. 2019-06-14 17:46:37 +00:00
dr9xx.cpp
dr10xx.cpp When substituting previously-checked template arguments into a template 2018-03-08 01:07:33 +00:00
dr11xx.cpp DR1113: anonymous namespaces formally give their contents internal linkage. 2017-09-22 22:21:44 +00:00
dr12xx.cpp DR1213: Ignore implicit conversions when determining if an operand of an 2018-06-27 20:29:32 +00:00
dr13xx.cpp DR1872: don't allow any calls to virtual functions in constant 2019-05-09 19:45:49 +00:00
dr14xx.cpp Add missing diagnostic for anonymous struct/union definitions that don't 2019-04-24 00:08:02 +00:00
dr15xx.cpp [Sema][NFC] Mark DR1563 as done (List-initialization and overloaded function disambiguation) 2019-04-18 15:45:08 +00:00
dr16xx.cpp [Sema] ADL: Associated namespaces for class types and enumeration types (CWG 1691) 2019-04-22 12:19:00 +00:00
dr17xx.cpp P1286R2: Remove restriction that the exception specification of a 2019-05-06 05:04:56 +00:00
dr18xx.cpp [c++20] P1064R0: Allow virtual function calls in constant expression 2019-05-13 23:35:21 +00:00
dr19xx.cpp Refactor constant evaluation of typeid(T) to track a symbolic type_info 2019-05-17 07:06:46 +00:00
dr20xx.cpp C++ DR712 and others: handle non-odr-use resulting from an lvalue-to-rvalue conversion applied to a member access or similar not-quite-trivial lvalue expression. 2019-06-14 17:46:37 +00:00
dr21xx.cpp PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type 2019-06-14 17:46:38 +00:00
dr22xx.cpp Fix handling of class member access into a vector type. 2019-08-14 22:57:50 +00:00
dr23xx.cpp [Sema] Implement DR2386 for C++17 structured binding 2019-08-15 19:45:28 +00:00
dr118.cpp
dr158.cpp
dr412.cpp
dr1748.cpp