aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2013-03-29 15:51:36 -0400
committerJason Merrill <jason@gcc.gnu.org>2013-03-29 15:51:36 -0400
commit10c6dc8e3932d33c8e47e6706885d2412b29c069 (patch)
treefa1e112b1b8703b30586ff6e497de4fc62417926 /gcc/final.c
parent15914ac8b16b3e88dc13b08f143f90ac5baad126 (diff)
downloadgcc-10c6dc8e3932d33c8e47e6706885d2412b29c069.zip
gcc-10c6dc8e3932d33c8e47e6706885d2412b29c069.tar.gz
gcc-10c6dc8e3932d33c8e47e6706885d2412b29c069.tar.bz2
cp-tree.h (AUTO_IS_DECLTYPE): New.
N3582 * cp-tree.h (AUTO_IS_DECLTYPE): New. * parser.c (cp_parser_decltype): Handle decltype(auto). (cp_parser_type_id_1): Allow auto without a late-specified return in C++1y. (cp_parser_primary_expression): Use the return value of finish_parenthesized_expr. (cp_parser_transaction_expression): Likewise. * semantics.c (force_paren_expr): New. (finish_parenthesized_expr): Use it. * call.c (build_conditional_expr_1): Likewise. * pt.c (do_auto_deduction): Handle decltype(auto). (tsubst_copy): Handle PAREN_EXPR. (tsubst_copy_and_build): Likewise. * error.c (dump_expr): Handle PAREN_EXPR. * cxx-pretty-print.c (pp_cxx_expression): Likewise. * mangle.c (write_expression): Ignore PAREN_EXPR. * parser.c (cp_parser_decltype_expr): Split out... (cp_parser_decltype): ...from here. From-SVN: r197248
Diffstat (limited to 'gcc/final.c')
0 files changed, 0 insertions, 0 deletions