This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Difference between struct and class in internal tree


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]