Type has enough space for two members of
TemplateSpecializationType. Mechanical patch.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
I think that this causes UB. The Type baseclass will use the TypeBitfields active member, but this uses the TemplateSpecializationTypeBits, right? I know we take advantage of this elsewhere, but I'm tentative about this one...
Comment Actions
All of these bitfields (ab)use are already UB I think...
I don't see what is special in this case...
Comment Actions
I don't like these bit-field abuses too much but this is
used all over the place in clang and so if this breaks so
many things are going to break.