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
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