Commit 98ed3906 by Gabriel Dos Reis Committed by Gabriel Dos Reis

* error.c (dump_expr): Handle EMPTY_CLASS_EXPR.

From-SVN: r69338
parent 1b78cca9
2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net> 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 PR c++/5293
* call.c (initialize_reference): Improve diagnostic. * call.c (initialize_reference): Improve diagnostic.
......
...@@ -2032,6 +2032,12 @@ dump_expr (tree t, int flags) ...@@ -2032,6 +2032,12 @@ dump_expr (tree t, int flags)
dump_expr (get_first_fn (t), flags & ~TFF_EXPR_IN_PARENS); dump_expr (get_first_fn (t), flags & ~TFF_EXPR_IN_PARENS);
break; 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: case NON_DEPENDENT_EXPR:
output_add_string (scratch_buffer, "<expression of type "); output_add_string (scratch_buffer, "<expression of type ");
dump_type (TREE_TYPE (t), flags); dump_type (TREE_TYPE (t), flags);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment