Re: C/C++ AST

2010-05-11 Thread Basile Starynkevitch
On 05/11/2010 11:34 AM, wolfgang8...@gmx.de wrote: Hello All, I want to know if it is possible to modify AST of the C/C++-Language. You can modify a middle end representation of source program. I am not sure if it always should be called an AST. What I would like to do is to add some argum

C/C++ AST

2010-05-11 Thread wolfgang8080
Hello All, I want to know if it is possible to modify AST of the C/C++-Language. What I would like to do is to add some arguments to some function calls or add statements somewhere in the tree. Now I am looking for the root node to modify it. Which is the best pass for that? Is there anywhere sa