[cfe-dev] Source-to-source manipulations with Clang
tarasevich.andrey at googlemail.com
Thu Jan 27 04:52:01 PST 2011
Recently I started using Clang for the C-code parsing, but I have some
problems with find information on how to do Source-to-source
At the moment I can generate Abstract Syntax Tree and tree traversal trough
the API, i.e. rewriting the ASTConsumer and DeclVisitor classes, but I don't
know how to do the transformations of the AST and write it back to the
source code. Could you please give me some feedback on how to do such
manipulations? I didn't find anything useful in google, so I decided to
write to mailing list.
I hope I was clear enough
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev