[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] type attributes
From:       Douglas Gregor <dgregor () apple ! com>
Date:       2009-07-24 22:56:46
Message-ID: 019293CE-B624-4B19-AB29-E5EBA6F9883A () apple ! com
[Download RAW message or body]


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@apple.com> wrote:
>>> I'm adding the noreturn type attribute.  We can do this in one of  
>>> two
>>> 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
>>> thought?
>>
>> 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....

*shudder*

>> Have you considered putting the noreturn type attribute on
>> FunctionType?
>
> 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.

	- Doug
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic