public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-27] Use flags in dump_decl.
Date: Wed, 21 Apr 2021 11:27:48 +0000 (GMT)	[thread overview]
Message-ID: <20210421112748.B25FF385800A@sourceware.org> (raw)

https://gcc.gnu.org/g:9b6360b83cf5c684422c42301faee3a79ac42dc1

commit r12-27-g9b6360b83cf5c684422c42301faee3a79ac42dc1
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Apr 21 13:27:08 2021 +0200

    Use flags in dump_decl.
    
    gcc/cp/ChangeLog:
    
            * error.c (dump_decl): Use flags in dump_generic_node call.

Diff:
---
 gcc/cp/error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index c88d1749a0f..c4ae76f5536 100644
--- a/gcc/cp/error.c
+++ b/gcc/cp/error.c
@@ -1365,7 +1365,7 @@ dump_decl (cxx_pretty_printer *pp, tree t, int flags)
       if (DECL_NAME (t))
 	pp_cxx_tree_identifier (pp, DECL_NAME (t));
       else
-	dump_generic_node (pp, t, 0, TDF_SLIM, false);
+	dump_generic_node (pp, t, 0, flags | TDF_SLIM, false);
       break;
 
     case CONST_DECL:


                 reply	other threads:[~2021-04-21 11:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210421112748.B25FF385800A@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).