Is the doxygen comment API able to handle doxygen comments for macros by the way? I think the biggest problem in doing this "right" is to connect the doxygen for the macro call with the implementation (especially the static asserts) of the matcher. http://llvm-reviews.chandlerc.com/D23