On 4/21/21 12:56 PM, Jakub Jelinek wrote: > On Wed, Apr 21, 2021 at 12:52:42PM +0200, Martin Liška wrote: >> On 4/21/21 11:04 AM, Jakub Jelinek wrote: >>> Wouldn't it be better to be consistent with tree-pretty-print.c on this >>> or perhaps just call dump_generic_node or whatever is used to dump >>> those e.g. for C? >> >> Yes, I'm going to install patch that does: >> >> + if (DECL_NAME (t)) >> >> + pp_cxx_tree_identifier (pp, DECL_NAME (t)); >> >> + else >> >> + dump_generic_node (pp, t, 0, TDF_SLIM, false); > > Wouldn't flags | TDF_SLIM be better, so that it honors nouid etc.? > > Jakub >
Good point, fixed that. Thanks, Martin