User defined __attributes__ in clang plugins?

Hi,

is it possible to register an user defined attribute like e.g. attributes((myattr)) in a clang plugin?

I am looking for something similiar like the PragmaHandlerRegistry.

Any hint would be helpful.

Thanks

Marcel

Not currently, but this is something that's been discussed recently.
See this thread for some details:
http://lists.llvm.org/pipermail/cfe-dev/2017-March/052937.html

~Aaron