[cfe-dev] How to find the source file, the called function is defined inside

Georgiou, Andreas via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 21 18:53:56 PDT 2016


Hi all,

I have an ASTvisitor and when it visits a CallExpr node, if the expression is a function call I would like to retrieve the filename of the source code where the called function is defined within. Is it possible?

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160722/7b672d9d/attachment.html>


More information about the cfe-dev mailing list