Romain Geissler <romain.geiss...@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 via email to