[cfe-dev] Patch & feedback request

Chris Lattner clattner at apple.com
Mon Jul 27 11:43:13 PDT 2009


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



More information about the cfe-dev mailing list