[GCC-XML]Detecting virtual inheritance
Brad King
brad.king at kitware.com
Wed May 5 11:43:26 EDT 2004
Brad King wrote:
> 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.
Also, please submit this as a feature request here:
http://www.gccxml.org/Bug
Thanks,
-Brad
More information about the gccxml
mailing list