Commit a7564a05 by Jason Merrill Committed by Jason Merrill

* ptree.c (cxx_print_xnode) [TEMPLATE_PARM_INDEX]: Dump the decl.

From-SVN: r241424
parent 8b729f5c
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>
* 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);
break;
case TEMPLATE_PARM_INDEX:
print_node (file, "decl", TEMPLATE_PARM_DECL (node), indent+4);
indent_to (file, indent + 3);
fprintf (file, "index %d level %d orig_level %d",
TEMPLATE_PARM_IDX (node), TEMPLATE_PARM_LEVEL (node),
......
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