public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Benjamin Smedberg <bsmedberg@mozilla.com>
To: Terrence Miller <terrencem@sbcglobal.net>
Cc: gcc@gcc.gnu.org
Subject: Re: C++ Plugins
Date: Mon, 19 Oct 2009 19:48:00 -0000	[thread overview]
Message-ID: <4ADCB07F.4090607@mozilla.com> (raw)
In-Reply-To: <4AD2043C.6010506@sbcglobal.net>

On 10/11/09 12:13 PM, Terrence Miller wrote:
> (Version 4.5.0)
> 
> There are plugin callbacks which trigger at the end of processing types
> and C++ functions,
> but I can not find a clean way for plugin code to notice a top-level
> variable declaration.
> 
> I'm hoping that the answer does not require the plugin shared library to
> bind to global symbols of the compiler (i.e. global_namespace).

Why not? That's what dehydra does: it enumerates through the items in
global_namespace in PLUGIN_FINISH_UNIT.

--BDS

  reply	other threads:[~2009-10-19 18:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-11 16:21 Terrence Miller
2009-10-19 19:48 ` Benjamin Smedberg [this message]
2009-10-19 21:53   ` Terrence Miller

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=4ADCB07F.4090607@mozilla.com \
    --to=bsmedberg@mozilla.com \
    --cc=gcc@gcc.gnu.org \
    --cc=terrencem@sbcglobal.net \
    /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).