Commit 301ea094 by Jason Merrill Committed by Jason Merrill

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

From-SVN: r151334
parent f071aaca
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> 2009-09-01 Alexandre Oliva <aoliva@redhat.com>
* cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New. * cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New.
......
...@@ -95,6 +95,10 @@ cxx_print_type (FILE *file, tree node, int indent) ...@@ -95,6 +95,10 @@ cxx_print_type (FILE *file, tree node, int indent)
case UNION_TYPE: case UNION_TYPE:
break; break;
case DECLTYPE_TYPE:
print_node (file, "expr", DECLTYPE_TYPE_EXPR (node), indent + 4);
return;
default: default:
return; return;
} }
......
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