On Thu, Apr 21, 2016 at 12:47 PM, Jason Merrill <ja...@redhat.com> wrote:
> On Thu, Apr 21, 2016 at 11:57 AM, Jonathan Wakely <jwakely....@gmail.com>
> wrote:
>>
>> I once tried to write a gcc plugin that would check all names defined
>> by libstdc++ and ensure they were either in the reserved namespace, or
>> were in a whitelist of allowed names defined by the standard (such as
>> "istream" and "read"). It didn't work because gcc plugins don't run
>> early enough, so macros and uninstantiated templates are never seen by
>> the plugin.
>
>
> Then let's add plugin callbacks to make that possible.

Jason

Reply via email to