Hello!<div><br></div><div>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 transformations. </div><div><br></div><div>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. </div>
<div><br></div><div>I hope I was clear enough</div>