[cfe-dev] adding attribute bits to types
John McCall
rjmccall at apple.com
Sat Aug 22 09:13:00 PDT 2009
Mattias Holm wrote:
> Mike Stump wrote:
>
>> You can put them into ExtQualType, if they have to be on the type. If
>> you see how they handle address spaces or the GC attributes, you just
>> copy those bits, and you're done. The rest of the system works to
>> make what needs to happen, happen. If you don't need them on the
>> type, they are already on the decl, just fetch the attributes from the
>> decl, see:
>>
>
> Thanks, I did need to place the attributes in this case on the type and
> it just "magically" started to work after I realized how the ExtQualType
> actually worked. Thanks for pointing it out.
>
Anything you add to ExtQualType needs to also be supported in
QualifierSet. There
should probably be a comment to that effect.
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090822/f3b8ec82/attachment.html>
More information about the cfe-dev
mailing list