[cfe-dev] adding attribute bits to types

Mattias Holm holm at liacs.nl
Fri Aug 21 06:25:13 PDT 2009


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.

/ Mattias




More information about the cfe-dev mailing list