[GCC-XML]Detecting virtual inheritance

Pere Mato Vila Pere.Mato at cern.ch
Wed May 5 12:16:45 EDT 2004


Thanks for the quick answer. I'll try to take a look.

			Pere

> -----Original Message-----
> From: Brad King [mailto:brad.king at kitware.com] 
> Sent: 05 May 2004 17:37
> To: Pere Mato Vila
> Cc: gccxml at gccxml.org
> Subject: Re: [GCC-XML]Detecting virtual inheritance
> 
> 
> Pere Mato Vila wrote:
> > Hello,
> > 
> >   Is there a way to detect virtual inheritance? The list of "bases" 
> > does not give me any hint on it.
> 
> Not currently, but it can be added.  However, I have no time to do it 
> now.  If you want to try, take a look in the GCC-XML source tree at 
> these files:
> 
>    gccxml/GCC/gcc/tree.h
>    gccxml/GCC/gcc/cp/cp-tree.h
>    gccxml/GCC/gcc/cp/xml.c
> 
> If you can figure out how to detect from GCC's representation 
> whether a 
> base is virtual, then you can adjust how the bases attribute 
> is dumped.
> 
> -Brad
> 



More information about the gccxml mailing list