This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Interface for manipulating the abstract syntax tree


Hi,

I try to change the front-end tree structure of a c/c++ program as a
side effect of execution of a pragma. The operations that are involved
is to walk through in a tree (i.e "C" block), insertion of a tree
(i.e. statement, block, declaration) in the abstract syntax tree and
deletion of a tree (i.e. statement, block, declaration).

I am quite new to the gcc code and I could only find that the function
add_stmt(tree) inserts a statement.

I suppose that a lot of gcc developers here doing this routinely. I
would appreciate your help and advices a lot.

Thanks in advance,

Ferad Zyulkyarov
Barcelona Supercomputing Center


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]