<p dir="ltr">Have you tried this? <br>
<a href="https://www.google.co.in/url?sa=t&source=web&rct=j&ei=pGnGVPK6IsG3mAW4_4KACw&url=http://llvm.org/devmtg/2013-04/krzikalla-slides.pdf&ved=0CB8QFjAB&usg=AFQjCNGc5MgyMroE4P9PIGJnBUnO2JtBjg&sig2=m8oQtfrIUaWqEWT1QVst0g">https://www.google.co.in/url?sa=t&source=web&rct=j&ei=pGnGVPK6IsG3mAW4_4KACw&url=http://llvm.org/devmtg/2013-04/krzikalla-slides.pdf&ved=0CB8QFjAB&usg=AFQjCNGc5MgyMroE4P9PIGJnBUnO2JtBjg&sig2=m8oQtfrIUaWqEWT1QVst0g</a></p>
<div class="gmail_quote">On Jan 26, 2015 9:22 PM, "parita" <<a href="mailto:16parita@gmail.com">16parita@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hello, i am newbie in llvm clang world, some doubts ..<br>
how to modify AST?<br>
is it possible by inheriting RecursiveASTVisitor<MyASTVisitor> and<br>
implementing methods like VisitStmt ,VisitFunctionDecl<br>
or it is there just to traverse AST?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://clang-developers.42468.n3.nabble.com/mutating-AST-tp4043620.html" target="_blank">http://clang-developers.42468.n3.nabble.com/mutating-AST-tp4043620.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>