[cfe-dev] Patch & feedback request

Sebastian Redl sebastian.redl at getdesigned.at
Mon Jul 27 10:23:40 PDT 2009


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++.

Sebastian



More information about the cfe-dev mailing list