* error.c (dump_expr): Handle EMPTY_CLASS_EXPR.

From-SVN: r69338
This commit is contained in:
Gabriel Dos Reis 2003-07-14 16:09:58 +00:00 committed by Gabriel Dos Reis
parent 1b78cca94b
commit 98ed39062b
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
* error.c (dump_expr): Handle EMPTY_CLASS_EXPR.
2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
PR c++/5293

View File

@ -2032,6 +2032,12 @@ dump_expr (tree t, int flags)
dump_expr (get_first_fn (t), flags & ~TFF_EXPR_IN_PARENS);
break;
case EMPTY_CLASS_EXPR:
dump_type (TREE_TYPE (t), flags);
print_left_paren (scratch_buffer);
print_right_paren (scratch_buffer);
break;
case NON_DEPENDENT_EXPR:
output_add_string (scratch_buffer, "<expression of type ");
dump_type (TREE_TYPE (t), flags);