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

List:       cfe-dev
Subject:    Re: [cfe-dev] Patch & feedback request
From:       Chris Lattner <clattner () apple ! com>
Date:       2009-07-27 18:43:13
Message-ID: DC78B056-D500-4744-B416-E378554B6D35 () apple ! com
[Download RAW message or body]


On Jul 27, 2009, at 10:23 AM, Sebastian Redl wrote:

> steve naroff wrote:
>> On Jul 27, 2009, at 12:47 PM, Erik Verbruggen wrote:
>>
>>>> How does objc treat CV qualifiers on catch types?  I don't think  
>>>> that
>>>> this makes sense, does it?
>>>>
>>>> @catch (NSString *const X) ..
>>>> @catch (NSString *volatile X) ..
>>>>
>>>> Also, what about CV qualifiers on the interface, like this:
>>>>
>>>> @catch (const NSString *X) ..
>>>> @catch (volatile NSString *X) ..
>>>>
>>> Does ObjC use ActOnCXXTryBlock?
>>>
>>
>> No...it uses ActOnObjCAtTryStmt(). CXX usually implies C++-specific.
>>
> There seems to be some confusion here. Chris was the one who brought  
> up
> Objective-C, but the patch has absolutely nothing to do with that.  
> This
> is only about C++.

Oh sorry, I didn't look at the code it was patching!  Sorry for the  
confusion, replace @catch with catch :)

-Chris
_______________________________________________
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