* error.c (dump_expr): Handle EMPTY_CLASS_EXPR.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Mon, 14 Jul 2003 16:09:58 +0000 (16:09 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Mon, 14 Jul 2003 16:09:58 +0000 (16:09 +0000)
From-SVN: r69338

gcc/cp/ChangeLog
gcc/cp/error.c

index 2627e94..f62013d 100644 (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
index 9edf118..1fc4047 100644 (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);