From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6356 invoked by alias); 11 Oct 2009 16:13:52 -0000 Received: (qmail 6348 invoked by uid 22791); 11 Oct 2009 16:13:51 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from smtp107.sbc.mail.gq1.yahoo.com (HELO smtp107.sbc.mail.gq1.yahoo.com) (67.195.14.110) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sun, 11 Oct 2009 16:13:49 +0000 Received: (qmail 94218 invoked from network); 11 Oct 2009 16:13:47 -0000 Received: from adsl-75-6-253-16.dsl.pltn13.sbcglobal.net (terrencem@75.6.253.16 with plain) by smtp107.sbc.mail.gq1.yahoo.com with SMTP; 11 Oct 2009 09:13:47 -0700 PDT X-Yahoo-SMTP: dDcV3M.swBCRLBgCgdMS.a3_W5t1VvCgWtzZo2GOAb91iI5X Message-ID: <4AD2043C.6010506@sbcglobal.net> Date: Sun, 11 Oct 2009 16:21:00 -0000 From: Terrence Miller User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: gcc@gcc.gnu.org Subject: C++ Plugins Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg00224.txt.bz2 (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). TIA - Terrence Miller