[cfe-dev] Using Python-clang

Anurag gnurag at gmail.com
Thu Mar 6 06:02:44 PST 2014


Hello,

I'm learning clang from the tutorials I can find online. I'm trying to
adapt the example present in "examples/cindex/cindex-dump.py" and make it
work for an entire project, say curl's sources.

How should I handle multiple source files in this case? Should I run
Index.parse() on all the source files in a loop, or is there a better way
to do this?

Anurag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140306/4a9cbee1/attachment.html>


More information about the cfe-dev mailing list