[cfe-commits] [PATCH] Add Python bindings to comment AST introspection APIs

Ben Gertzfield bgertzfield at gmail.com
Fri Dec 21 10:30:55 PST 2012


On Fri, Dec 21, 2012 at 10:12 AM, Douglas Gregor <dgregor at apple.com> wrote:

> clang_findReferencesInFile.
>

Got it. I found functions like this to be very handy in my Python unit
tests as well.

Perhaps optionally building on a comment cursor API foundation, we could
provide stable high-level APIs like this to find all the comments in a
file, or all the comment nodes of a particular type in a comment, etc.

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121221/98199b93/attachment.html>


More information about the cfe-commits mailing list