This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Difference between struct and class in internal tree
- To: gcc at gcc dot gnu dot org
- Subject: Difference between struct and class in internal tree
- From: "Thomas R. Dean" <dean at cs dot queensu dot ca>
- Date: Sun, 11 Feb 2001 13:18:58 -0500
Hi, we are using 2.97 to recovery program information in a research
project.
We have our own versoin of c-dump.c and cp/dump.c that generates the
program
information in the form we need it (GXL). The plan is to open source
our
versions of the dumps for anyone doing similar research.
Things are looking good. However, the one thing we can't seem to find is
any
way to distinguish a class from a structure in the tree. They both
come out as a RECORD_TYPE. Is there any way to distinguish the two?
Thanks..
Tom.