[cfe-dev] Adding nodes to Clang's AST

Ori Zaig via cfe-dev cfe-dev at lists.llvm.org
Mon Jan 9 07:59:51 PST 2017


I need to insert new nodes to AST. For instance, adding a namespace to a function: Turning this -

void foo();



into this -

namespace bar {

    void foo();

}



I want to edit the AST directly - I prefer not using source-to-source compilation

Tnx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170109/2dfda8b0/attachment.html>


More information about the cfe-dev mailing list