diff options
author | Jason Merrill <jason@redhat.com> | 2013-04-24 11:03:51 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2013-04-24 11:03:51 -0400 |
commit | 399bb2da17cbe7474cd38556d051e921fc74c113 (patch) | |
tree | 4a74df96c106fa41190e45e0d69fd4efc617e763 /libcpp | |
parent | 98bdfa5050997aaa055a899f80ff6c14734edd7d (diff) | |
download | gcc-399bb2da17cbe7474cd38556d051e921fc74c113.zip gcc-399bb2da17cbe7474cd38556d051e921fc74c113.tar.gz gcc-399bb2da17cbe7474cd38556d051e921fc74c113.tar.bz2 |
N3648: Allow braced and parenthesized initializers.
* parser.c (cp_parser_lambda_introducer): Use cp_parser_initializer.
* pt.c (tsubst) [DECLTYPE_TYPE]: Handle DECLTYPE_FOR_INIT_CAPTURE.
* semantics.c (lambda_capture_field_type): Use do_auto_deduction.
(add_capture): Collapse a parenthesized initializer into a single
expression.
* cp-tree.h (DECLTYPE_FOR_INIT_CAPTURE): New.
From-SVN: r198246
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions