[cfe-dev] Front-end with support for custom __attribute__'s
Konstantin Tokarev
annulen at yandex.ru
Thu Mar 17 04:59:43 PDT 2011
Is it possible to create custom Clang frontend supporting new types of __attribute__ without
modification of Clang libraries?
As for attributes, I've read "How to add an attribute" manual, but (AFAIU) it requires modification
of Sema::Kind enum, and even if I inherit from Sema, I won't be able to replace existing Kind
without breaking API compatibility of my Sema derivative with other libraries.
Any suggestions?
--
Regards,
Konstantin
More information about the cfe-dev
mailing list