Richard Smith
5c9b3b7576
P0969R0: allow structured binding of accessible members, not only public members.
...
llvm-svn: 343036
2018-09-25 22:12:44 +00:00
Erik Pilkington
be168a9d34
[Sema] P0961R1: Relaxing the structured bindings customization point finding rules
...
Differential revision: https://reviews.llvm.org/D50418
llvm-svn: 339375
2018-08-09 20:11:13 +00:00
Richard Smith
378b8c8f01
[c++1z] P0217R3: Allow by-value structured binding of arrays.
...
llvm-svn: 289630
2016-12-14 03:22:16 +00:00
Richard Smith
208732e954
[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
2016-12-08 03:24:55 +00:00
Benjamin Kramer
df8bf140dd
[C++1z] Fix crash when decomposing structs with anonymous members.
...
The diagnostic format was invalid.
llvm-svn: 278487
2016-08-12 09:19:34 +00:00
Richard Smith
dca60b4958
P0217R3: Constant expression evaluation for decomposition declarations.
...
llvm-svn: 278447
2016-08-12 00:39:32 +00:00
Richard Smith
7873de0cf6
P0217R3: Perform semantic checks and initialization for the bindings in a
...
decomposition declaration for arrays, aggregate-like structs, tuple-like
types, and (as an extension) for complex and vector types.
llvm-svn: 278435
2016-08-11 22:25:46 +00:00