<p dir="ltr">For what it's worth, you may want to check out <a href="http://clang.llvm.org/docs/LibTooling.html">http://clang.llvm.org/docs/LibTooling.html</a> and <a href="http://clang.llvm.org/docs/LibASTMatchersTutorial.html">http://clang.llvm.org/docs/LibASTMatchersTutorial.html</a>.</p>

<p dir="ltr">Using RefactoringTool and Replacement makes it quite easy to rewrite things.</p>
<p dir="ltr">Daniel</p>
<div class="gmail_quote">On Apr 5, 2013 1:33 PM, "steveneliuk" <<a href="mailto:s.eliuk@sisa.samsung.com">s.eliuk@sisa.samsung.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I found the answer,<br>
<br>
bool VisitCallExpr(CallExpr *CE){<br>
 _rewriter.ReplaceText(CE->getLocStart(), II->getName().size(),<br>
"newFuncName");<br>
}<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://clang-developers.42468.n3.nabble.com/any-complete-example-of-a-Rewriter-that-changes-function-call-arguments-tp4029085p4031338.html" target="_blank">http://clang-developers.42468.n3.nabble.com/any-complete-example-of-a-Rewriter-that-changes-function-call-arguments-tp4029085p4031338.html</a><br>

Sent from the Clang Developers mailing list archive at Nabble.com.<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>
</blockquote></div>