public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dodji Seketeli <dodji@seketeli.org>
To: Romain Geissler <romain.geissler@gmail.com>
Cc: Romain Geissler <romain.geissler@st.com>,
	 "gcc-patches\@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
	 Jason Merrill <jason@redhat.com>
Subject: Re: [PLUGIN] Fix PLUGIN_FINISH_TYPE
Date: Thu, 22 Sep 2011 15:45:00 -0000	[thread overview]
Message-ID: <m3pqiszl29.fsf@seketeli.org> (raw)
In-Reply-To: <57F22319-B424-453C-A843-971320B4CCD3@gmail.com> (Romain	Geissler's message of "Thu, 22 Sep 2011 16:26:49 +0200")

Romain Geissler <romain.geissler@gmail.com> a écrit:

> The deprecated attribute was just an example. I may need to apply any type attribute
> when a new type is parsed, which is currently not possible with the current C++
> front-end.

So then it seems to me like you might need to emit an event when a new
declared named is about to be put in the symbol table for a given
scope.  For the c++ FE, that would be in pushdecl_maybe_friend.  That
way, you can see the DECL even for the declaration of a type, before the
type is fully parsed.

-- 
		Dodji

      reply	other threads:[~2011-09-22 14:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-12 11:41 Romain Geissler
2011-09-12 15:25 ` Dodji Seketeli
2011-09-12 16:12   ` Romain Geissler
2011-09-12 17:59     ` Dodji Seketeli
2011-09-13 12:25       ` Romain Geissler
2011-09-14  9:03         ` Romain Geissler
2011-09-22 14:26           ` Dodji Seketeli
2011-09-22 14:29             ` Diego Novillo
2011-09-22 15:04               ` Romain Geissler
2011-09-22 14:18         ` Dodji Seketeli
2011-09-22 15:01           ` Romain Geissler
2011-09-22 15:45             ` Dodji Seketeli [this message]

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=m3pqiszl29.fsf@seketeli.org \
    --to=dodji@seketeli.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jason@redhat.com \
    --cc=romain.geissler@gmail.com \
    --cc=romain.geissler@st.com \
    /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).