[cfe-dev] Comments surrounding a statement / function.

Mohan Acharya smohansa at yahoo.com
Wed Jun 25 06:54:42 PDT 2014


Hi,

How to extract comments before a function or statement? I tried astContext->getCommentForDecl() and astContext->getRawCommentslist() in VisitFunctionDecl() but didn't work. Any tips? or working example?

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


More information about the cfe-dev mailing list