[cfe-dev] Source code CXString from CXCursor

Александр Смирнов alexander at smirn0v.ru
Sat Jun 16 14:28:28 PDT 2012

I'm utilizing libclang and currently just trying to print cursor kind +
first line of code for each cursor in file. Can't find how to get file
contents from CXSourceRange which I get from clang_getCursorExtent. Is it
possible to get line of code for the cursor using libclang ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120617/9d521176/attachment.html>

More information about the cfe-dev mailing list