aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2013-04-24 11:03:51 -0400
committerJason Merrill <jason@gcc.gnu.org>2013-04-24 11:03:51 -0400
commit399bb2da17cbe7474cd38556d051e921fc74c113 (patch)
tree4a74df96c106fa41190e45e0d69fd4efc617e763 /libcpp
parent98bdfa5050997aaa055a899f80ff6c14734edd7d (diff)
downloadgcc-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