[cfe-dev] getting all function calls?

ret val retval386 at gmail.com
Wed Jun 8 19:15:25 PDT 2011


I have been editing the PrintFunctionNames
example(llvm/tools/clang/examples) and the trivial VisitCallExpr() method I
implemented does not run. Does anyone mind taking a look at it?

The full file is here: https://gist.github.com/1015907

Thanks again

On Wed, Jun 8, 2011 at 4:02 PM, Joshua Cranmer <Pidgeot18 at gmail.com> wrote:

> On 6/8/2011 12:50 PM, ret val wrote:
> > I do not see the VisitCallExpr method in the code or in Doxygen.
> >
> > It looks like the RecursiveASTVisitor class can give me statements,
> > where statements become expressions become function calls by
> > inheritance. Or am I missing something?
> So, most of the functions in RecursiveASTVisitor are defined via macro
> calls, which makes finding out what they are difficult. For my own
> sanity, I used a simple plugin to dump out all of the functions of
> RecursiveASTVisitor; their output can be found at
> <http://www.tjhsst.edu/~jcranmer/visitorfuncs.txt>.
>
> --
> Joshua Cranmer
> News submodule owner
> JSHydra author
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110608/d7427065/attachment.html>


More information about the cfe-dev mailing list