This makes the generic pretty printer print braces around a TREE_VEC,
like we do for CONSTRUCTOR. This should improve readability of nested
TREE_VECs in particular.
gcc/ChangeLog:
* tree-pretty-print.cc (dump_generic_node) <case TREE_VEC>:
Delimit output with braces.
case TREE_VEC:
{
size_t i;
+ pp_left_brace (pp);
if (TREE_VEC_LENGTH (node) > 0)
{
size_t len = TREE_VEC_LENGTH (node);
dump_generic_node (pp, TREE_VEC_ELT (node, len - 1), spc,
flags, false);
}
+ pp_right_brace (pp);
}
break;