[GCC-XML] Functions that takes array as argument - small advice needed

Brad King brad.king at kitware.com
Wed Apr 12 09:35:06 EDT 2006


Roman Yakovenko wrote:
> On 4/11/06, Brad King <brad.king at kitware.com> wrote:
> 
>>I would love to fix this, but GCC throws away the information before the
>>dump code sees it.
> 
> 
> :-(. Then another question: Maybe on earlier stages of
> processing/parsing this information
> exists? Then it could be possible to create an other xml file and dump
> that information
> to it. Tools that need it will parse both xml's and merge the results.
> In this case the main
> question is: does exist some stage in which the information is
> presented as desired(
> array + size )? I try to find solution that will not force me to parse
> C++ code at all.

This is of course a possibility.  You'll have to dig into the GCC parser 
source.  Look in gccxml/GCC/gcc and gccxml/GCC/gcc/cp.  Perhaps looking 
for places creating POINTER_TYPE nodes would help locate it.

-Brad



More information about the gccxml mailing list