Apple's Clang

Greetings,
Does anyone have experience building clang plugins for Apple’s version of Clang ? Is it possible ?

What I’m trying to do is to create simple Obj-C code style guidelines checker.

Daniel,
Thanks for fast reply!
As far as I understand the tricky part here is that if I want to build a plugin I need a set of static libraries (clangFrontend, clangDriver, clangAST, etc.), but Apple’s Clang version does not include them.

I have already managed to build a pair of plugins with my own build of Clang, but don’t understand how to achieve the same with Apple’s Clang version.

Apple only vends the compiled clang executable in its tool releases, not the intermediate static libraries nor the header files. Building plugins against that executable is not supported.

Sad to hear. Thank you!