[cfe-dev] Checking Comments With A Plugin

Dan Campbell dan.campbell at gmail.com
Fri Oct 25 11:22:26 PDT 2013


I'm working on a plugin to enforce a particular coding style. One of the
rules requires that all comments follow a certain pattern. I've been having
trouble finding a way to access all the comments in a translation unit, so
that they can be checked.

Is there a way to do this with the current plugin and static analysis
tools, or are those only designed to look at actual code, and not comments?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131025/cdcfbf64/attachment.html>


More information about the cfe-dev mailing list