[cfe-dev] any complete example of a Rewriter that changes function call arguments?

steveneliuk s.eliuk at sisa.samsung.com
Fri Apr 5 13:30:48 PDT 2013


I found the answer,

bool VisitCallExpr(CallExpr *CE){
 _rewriter.ReplaceText(CE->getLocStart(), II->getName().size(),
"newFuncName");
}



--
View this message in context: http://clang-developers.42468.n3.nabble.com/any-complete-example-of-a-Rewriter-that-changes-function-call-arguments-tp4029085p4031338.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list