This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Difference between struct and class in internal tree
- To: "Thomas R. Dean" <dean at cs dot queensu dot ca>
- Subject: Re: Difference between struct and class in internal tree
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 11 Feb 2001 19:29:19 +0100
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <3A86D78D.79A09A80@cs.queensu.ca>
"Thomas R. Dean" <dean@cs.queensu.ca> writes:
[...]
| 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?
A starting point might be `CLASSTYPE_DECLARED_CLASS' predicate.
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com