Chris, > > QualType CanonicalType; > > > > /// TypeClass bitfield - Enum that specifies what subclass this > > belongs to. > > /// Note that this should stay at the end of the ivars > for Type so > > that > > /// subclasses can pack their bitfields into the same word. > > TypeClass TC : 4; > > > > another alternative is to make the TC bit field 5 bits > wide. This is > > the choice llvm made in one of is class. > > I'd suggest changing getTypeClass() to do the appropriate masking.
FWIW, that's exactly what I did a couple of days ago. Are there other places in clang where bitmasks are used? Regards Hartmut _______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
