* ptree.c (cxx_print_type) [DECLTYPE_TYPE]: Print the expression.

From-SVN: r151334
This commit is contained in:
Jason Merrill 2009-09-02 11:48:44 -04:00 committed by Jason Merrill
parent f071aaca7e
commit 301ea09431
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2009-09-01 Jason Merrill <jason@redhat.com>
* ptree.c (cxx_print_type) [DECLTYPE_TYPE]: Print the expression.
2009-09-01 Alexandre Oliva <aoliva@redhat.com>
* cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New.

View File

@ -95,6 +95,10 @@ cxx_print_type (FILE *file, tree node, int indent)
case UNION_TYPE:
break;
case DECLTYPE_TYPE:
print_node (file, "expr", DECLTYPE_TYPE_EXPR (node), indent + 4);
return;
default:
return;
}