From: Jason Merrill Date: Sat, 10 Jul 2021 09:45:02 +0000 (-0400) Subject: c++: pretty-print TYPE_PACK_EXPANSION better X-Git-Tag: basepoints/gcc-13~5661 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b759cdcb7f863520346e5bf63fcf1d3746c2cc3;p=thirdparty%2Fgcc.git c++: pretty-print TYPE_PACK_EXPANSION better gcc/cp/ChangeLog: * ptree.c (cxx_print_type) [TYPE_PACK_EXPANSION]: Also print PACK_EXPANSION_PATTERN. --- diff --git a/gcc/cp/ptree.c b/gcc/cp/ptree.c index 33b73fb24b61..7f140f5f06b6 100644 --- a/gcc/cp/ptree.c +++ b/gcc/cp/ptree.c @@ -171,6 +171,7 @@ cxx_print_type (FILE *file, tree node, int indent) return; case TYPE_PACK_EXPANSION: + print_node (file, "pattern", PACK_EXPANSION_PATTERN (node), indent + 4); print_node (file, "args", PACK_EXPANSION_EXTRA_ARGS (node), indent + 4); return;