aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-01-22 17:39:15 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-01-22 17:39:15 +0000
commit1fb3244aad216c693e0d90f693b2ff4797b4cb63 (patch)
tree7aaeb0692ae8031ae332889f9c66fc242dcf778b /gcc/java/class.c
parent4888ec5d53eb1207f199f6dd6c152abb61ec9258 (diff)
downloadgcc-1fb3244aad216c693e0d90f693b2ff4797b4cb63.zip
gcc-1fb3244aad216c693e0d90f693b2ff4797b4cb63.tar.gz
gcc-1fb3244aad216c693e0d90f693b2ff4797b4cb63.tar.bz2
re PR c++/9388 ([new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278)
PR c++/9388 * class.c (currently_open_derived_class): Use dependent_type_p. * cp-tree.h (dependent_type_p): New function. (dependent_template_arg_p): Likewise. (dependent_template_p): Likewise. (type_dependent_expression_p): Likewise. * parser.c (cp_parser_dependent_type_p): Remove. (cp_parser_value_dependent_type_p): Likewise. (cp_parser_type_dependent_expression_p): Likewise. (cp_parser_dependent_template_arg_p): Likewise. (cp_parser_dependent_template_id_p): Likewise. (cp_parser_dependent_template_p): Likewise. (cp_parser_diagnose_invalid_type_name): Replace cp_parser_dependent_type_p with dependent_type_p, etc. (cp_parser_primary_expresion): Likewise. (cp_parser_nested_name_specifier_opt): Likewise. (cp_parser_postfix_expression): Likewise. (cp_parser_unary_expression): Likewise. (cp_parser_template_name): Likewise. (cp_parser_class_name): Likewise. (cp_parser_lookup_name): Likewise. * pt.c (dependent_type_p): New function. (value_dependent_expression_p): Likewise. (type_dependent_expression_p): Likewise. (dependent_template_arg_p): Likewise. (dependent_template_id_p): Likewise. (dependent_template_p): Likewise. PR c++/9285 PR c++/9294 * parser.c (cp_parser_simple_declaration): PR c++/9285 PR c++/9294 * g++.dg/parse/expr2.C: New test. PR c++/9388 * g++.dg/parse/lookup2.C: Likewise. From-SVN: r61596
Diffstat (limited to 'gcc/java/class.c')
0 files changed, 0 insertions, 0 deletions