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?<br><br>The full file is here: <a href="https://gist.github.com/1015907">https://gist.github.com/1015907</a><br>
<br>Thanks again<br><br><div class="gmail_quote">On Wed, Jun 8, 2011 at 4:02 PM, Joshua Cranmer <span dir="ltr"><<a href="mailto:Pidgeot18@gmail.com">Pidgeot18@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 6/8/2011 12:50 PM, ret val wrote:<br>
> I do not see the VisitCallExpr method in the code or in Doxygen.<br>
><br>
> It looks like the RecursiveASTVisitor class can give me statements,<br>
> where statements become expressions become function calls by<br>
> inheritance. Or am I missing something?<br>
</div>So, most of the functions in RecursiveASTVisitor are defined via macro<br>
calls, which makes finding out what they are difficult. For my own<br>
sanity, I used a simple plugin to dump out all of the functions of<br>
RecursiveASTVisitor; their output can be found at<br>
<<a href="http://www.tjhsst.edu/%7Ejcranmer/visitorfuncs.txt" target="_blank">http://www.tjhsst.edu/~jcranmer/visitorfuncs.txt</a>>.<br>
<div><div></div><div class="h5"><br>
--<br>
Joshua Cranmer<br>
News submodule owner<br>
JSHydra author<br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br>