[cfe-dev] Clang as a preprocessor

Yadira Crespo ycrespofayad at gmail.com
Wed May 8 09:25:47 PDT 2013


I want to change (add) the arguments passed to a function. For example, if
I have the call:

foo(a,b);

I will need to add other parameters for example *c* and *n1*, and the
result should be:

foo(a,b,c,n1);

I think that I must do it with the function:

bool MyRecursiveASTVisitor::VisitCallExpr(CallExpr *CE)

but i don't know how to implement it. Can you help me with this please?


thank very much for your attention.

Yadira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130508/939427db/attachment.html>


More information about the cfe-dev mailing list