mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-22 12:39:47 +08:00
* ptree.c (cxx_print_xnode): Handle TEMPLATE_INFO.
From-SVN: r162268
This commit is contained in:
parent
d4404feead
commit
f25669da4a
@ -1,3 +1,7 @@
|
||||
2010-07-16 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* ptree.c (cxx_print_xnode): Handle TEMPLATE_INFO.
|
||||
|
||||
2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
|
||||
|
||||
* init.c (build_new_1): Use cp_build_function_call_nary instead of
|
||||
|
@ -207,6 +207,15 @@ cxx_print_xnode (FILE *file, tree node, int indent)
|
||||
TEMPLATE_PARM_IDX (node), TEMPLATE_PARM_LEVEL (node),
|
||||
TEMPLATE_PARM_ORIG_LEVEL (node));
|
||||
break;
|
||||
case TEMPLATE_INFO:
|
||||
print_node (file, "template", TI_TEMPLATE (node), indent+4);
|
||||
print_node (file, "args", TI_ARGS (node), indent+4);
|
||||
if (TI_PENDING_TEMPLATE_FLAG (node))
|
||||
{
|
||||
indent_to (file, indent + 3);
|
||||
fprintf (file, "pending_template");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user