[GCC-XML]Detecting virtual inheritance

Brad King brad.king at kitware.com
Wed May 5 11:36:34 EDT 2004

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:


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.


More information about the gccxml mailing list