Re: The AST tree modification. Edited.

2011-10-15 Thread niXman
Up. 2011/10/12 niXman : > Hello! > > I have figured out the creation of functions and structures, thanks > Andi's and Balaji's. Couldn't understand how to create tree for > template functions, classes, methods. > Can you help me figure that out, please? > > Thanks. >

Re: The AST tree modification. Edited.

2011-10-11 Thread niXman
Hello! I have figured out the creation of functions and structures, thanks Andi's and Balaji's. Couldn't understand how to create tree for template functions, classes, methods. Can you help me figure that out, please? Thanks.

Fwd: The AST tree modification. Edited.

2011-10-06 Thread niXman
NOWN_LOCATION, FIELD_DECL, >> get_identifier("variable"), integer_type_node) >> TREE_CHAIN(struct_field) = struct_frame >> >> You will create the following internal structure >> >> struct { >>    int variable; >> } >> >> I hope this h

Re: The AST tree modification. Edited.

2011-10-06 Thread Andi Hellmund
Balaji V .Iyer. -Original Message- From: niXman [mailto:i.nix...@gmail.com] Sent: Monday, October 03, 2011 6:51 PM To: gcc@gcc.gnu.org Subject: The AST tree modification. Edited. Hi everybody! It is necessary to implement a plug-in for GCC designed to collect the information on types of tr

Re: The AST tree modification. Edited.

2011-10-04 Thread Ian Lance Taylor
niXman writes: > "lang_hooks" - what this? where is declared? Running grep will show you that it is declared in langhooks.h. The lang hooks are frontend hooks called from the middle-end. The hooks are defined in langhooks.h. Ian

Re: The AST tree modification. Edited.

2011-10-04 Thread niXman
following internal structure > > struct { >   int variable; > } > > I hope this helps you get started. > > Thanks, > > Balaji V .Iyer. > > -----Original Message- > From: niXman [mailto:i.nix...@gmail.com] > Sent: Monday, October 03, 2011 6:51 PM >

RE: The AST tree modification. Edited.

2011-10-04 Thread Iyer, Balaji V
Monday, October 03, 2011 6:51 PM To: gcc@gcc.gnu.org Subject: The AST tree modification. Edited. Hi everybody! It is necessary to implement a plug-in for GCC designed to collect the information on types of translation unit, and generate static const array of types rtti_ex _ on its base; ///

The AST tree modification. Edited.

2011-10-03 Thread niXman
Hi everybody! It is necessary to implement a plug-in for GCC designed to collect the information on types of translation unit, and generate static const array of types rtti_ex _ on its base; // enum class type_ { char_, uchar_, short_, ushort_, int_, uint_, l