diff options
author | Jason Merrill <jason@redhat.com> | 2016-10-21 15:45:39 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-10-21 15:45:39 -0400 |
commit | a7564a05ff6a64cd1536a903e5f5fad50fed6973 (patch) | |
tree | 918f73bd78624be90050092807304b88d0548a9a /gcc/cp/ptree.c | |
parent | 8b729f5c8f812ffebaddb6ef9bd22e7c0dea9f19 (diff) | |
download | gcc-a7564a05ff6a64cd1536a903e5f5fad50fed6973.zip gcc-a7564a05ff6a64cd1536a903e5f5fad50fed6973.tar.gz gcc-a7564a05ff6a64cd1536a903e5f5fad50fed6973.tar.bz2 |
* ptree.c (cxx_print_xnode) [TEMPLATE_PARM_INDEX]: Dump the decl.
From-SVN: r241424
Diffstat (limited to 'gcc/cp/ptree.c')
-rw-r--r-- | gcc/cp/ptree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/ptree.c b/gcc/cp/ptree.c index 5726f96..e3e5e33 100644 --- a/gcc/cp/ptree.c +++ b/gcc/cp/ptree.c @@ -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), |