aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-07-20 10:21:05 -0400
committerJason Merrill <jason@gcc.gnu.org>2011-07-20 10:21:05 -0400
commit34429675140b34e3d1c9f4ccb1021d15cb92edb5 (patch)
tree9e56cc48852c32e97103a681ceb85db78262ad17 /gcc/tree-ssa-phiopt.c
parentff3ac0f47166f4ef3c6a22623bfadba6e419dbb1 (diff)
downloadgcc-34429675140b34e3d1c9f4ccb1021d15cb92edb5.zip
gcc-34429675140b34e3d1c9f4ccb1021d15cb92edb5.tar.gz
gcc-34429675140b34e3d1c9f4ccb1021d15cb92edb5.tar.bz2
PR c++/6709 (DR 743)
PR c++/6709 (DR 743) PR c++/42603 (DR 950) gcc/cp/ * parser.c (token_is_decltype, cp_lexer_next_token_is_decltype): New. (cp_parser_nested_name_specifier_opt): Allow decltype. (cp_parser_qualifying_entity): Likewise. (cp_parser_decltype): Replace source tokens with CPP_DECLTYPE. (cp_parser_simple_type_specifier): Handle decltype as scope. (cp_parser_base_specifier): Allow decltype. (cp_parser_base_clause): Don't crash on null base. * parser.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move to c-common.h. (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise. gcc/c-family/ * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h. (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise. (CPP_DECLTYPE): New. * c-common.c (c_parse_error): Handle CPP_DECLTYPE. From-SVN: r176513
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions