mirror of git://gcc.gnu.org/git/gcc.git
* ptree.c (cxx_print_xnode) [TEMPLATE_PARM_INDEX]: Dump the decl.
From-SVN: r241424
This commit is contained in:
parent
8b729f5c8f
commit
a7564a05ff
|
|
@ -1,3 +1,7 @@
|
||||||
|
2016-10-21 Jason Merrill <jason@redhat.com>
|
||||||
|
|
||||||
|
* ptree.c (cxx_print_xnode) [TEMPLATE_PARM_INDEX]: Dump the decl.
|
||||||
|
|
||||||
2016-10-21 Jakub Jelinek <jakub@redhat.com>
|
2016-10-21 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* cp-objcp-common.c (cp_decl_dwarf_attribute): Handle
|
* cp-objcp-common.c (cp_decl_dwarf_attribute): Handle
|
||||||
|
|
|
||||||
|
|
@ -236,6 +236,7 @@ cxx_print_xnode (FILE *file, tree node, int indent)
|
||||||
print_node (file, "chain", TREE_CHAIN (node), indent+4);
|
print_node (file, "chain", TREE_CHAIN (node), indent+4);
|
||||||
break;
|
break;
|
||||||
case TEMPLATE_PARM_INDEX:
|
case TEMPLATE_PARM_INDEX:
|
||||||
|
print_node (file, "decl", TEMPLATE_PARM_DECL (node), indent+4);
|
||||||
indent_to (file, indent + 3);
|
indent_to (file, indent + 3);
|
||||||
fprintf (file, "index %d level %d orig_level %d",
|
fprintf (file, "index %d level %d orig_level %d",
|
||||||
TEMPLATE_PARM_IDX (node), TEMPLATE_PARM_LEVEL (node),
|
TEMPLATE_PARM_IDX (node), TEMPLATE_PARM_LEVEL (node),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue