[cfe-dev] type attributes
dgregor at apple.com
Fri Jul 24 15:56:46 PDT 2009
On Jul 24, 2009, at 3:33 PM, Mike Stump wrote:
> On Jul 24, 2009, at 3:20 PM, Eli Friedman wrote:
>> On Fri, Jul 24, 2009 at 1:56 PM, Mike Stump<mrs at apple.com> wrote:
>>> I'm adding the noreturn type attribute. We can do this in one of
>>> ways, as a bit, or use the general mechanism used by Decls. I kinda
>>> like the general method used by decls, but wanted to see what others
>> Either way sounds okay; I think I prefer the general method as well.
> Ah, the type uniquing code isn't going to like the general method, and
> type attributes are fairly rare, so I think I'll skip it. I think
> I'll defer until a machine port wanted to add type attributes....
>> Have you considered putting the noreturn type attribute on
> Hum... I'll have to see if I can sneak in a bit there without
> modifying the size much.
FunctionType has 28 unused bits; grabbing one won't cost us anything.
More information about the cfe-dev