diff options
author | Jason Merrill <jason@redhat.com> | 2021-07-10 05:45:02 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2021-07-31 10:43:07 -0400 |
commit | 5b759cdcb7f863520346e5bf63fcf1d3746c2cc3 (patch) | |
tree | 67d2abb1a0bd04f1bfb4ecc1e153c368921a4ff4 /gcc/cp/ptree.c | |
parent | 4c4249b71de3b15ba1e176ce90a57fb7bc54b917 (diff) | |
download | gcc-5b759cdcb7f863520346e5bf63fcf1d3746c2cc3.zip gcc-5b759cdcb7f863520346e5bf63fcf1d3746c2cc3.tar.gz gcc-5b759cdcb7f863520346e5bf63fcf1d3746c2cc3.tar.bz2 |
c++: pretty-print TYPE_PACK_EXPANSION better
gcc/cp/ChangeLog:
* ptree.c (cxx_print_type) [TYPE_PACK_EXPANSION]: Also print
PACK_EXPANSION_PATTERN.
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 33b73fb..7f140f5 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; |