[cfe-dev] Bug Patch for MSVC
Hartmut Kaiser
hartmut.kaiser at gmail.com
Wed Sep 19 11:38:15 PDT 2007
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
More information about the cfe-dev
mailing list