<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><div class="gmail_default"><span style="font-family:arial,helvetica,sans-serif">I want to change (add) the arguments passed to a function. For example, if I have the call:<br>
<br></span></div><div class="gmail_default"><span style="font-family:arial,helvetica,sans-serif">
foo(a,b);<br><br></span></div><span style="font-family:arial,helvetica,sans-serif">I will need to add other parameters for example <b>c</b> and <b>n1</b>, and the result should be:<br><br>foo(a,b,c,n1);<br><br>I think that I must do it with the function: <br>
<br>bool MyRecursiveASTVisitor::VisitCallExpr(CallExpr *CE)<br></span><div class="gmail_default"><span style="font-family:arial,helvetica,sans-serif"><br>but i don't know how to implement it. Can you help me with this please?<br>
<br> <br>thank very much for your attention.<br><br></span></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><span style="font-family:arial,helvetica,sans-serif">Yadira</span><br></div></div></div>