[cfe-dev] mutating AST

Sean Silva chisophugis at gmail.com
Mon Jan 26 08:05:10 PST 2015


Clang's AST is considered an immutable data structure.

-- Sean Silva

On Sat, Jan 24, 2015 at 10:42 AM, parita <16parita at gmail.com> wrote:

> hello, i am newbie in llvm clang world, some doubts ..
> how to modify AST?
> is it possible by inheriting RecursiveASTVisitor<MyASTVisitor> and
> implementing methods like VisitStmt ,VisitFunctionDecl
> or it is there just to traverse AST?
>
>
>
> --
> View this message in context:
> http://clang-developers.42468.n3.nabble.com/mutating-AST-tp4043620.html
> Sent from the Clang Developers mailing list archive at Nabble.com.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150126/040b4fb6/attachment.html>


More information about the cfe-dev mailing list