[cfe-dev] Objective-C super parsing

David Chisnall csdavec at swansea.ac.uk
Sat Jun 21 11:10:33 PDT 2008


Hi Ted,

On 21 Jun 2008, at 18:51, Ted Kremenek wrote:

> I fixed the test case to use stdint.h.

Thanks.

> I'm a little confused.  I'm looking back over the emails (subject:  
> Objective-C tidy up) and I thought the decision was to not use  
> PredefinedExpr for super/self/etc.  I could have easily missed an  
> email (I have a backlog from pre-WWDC).  Could you please clarify  
> (or be so kind to point me to the email I missed on the list  
> archives, since you probably remember the exact email exchange).

The decision was not to use a PredefinedExpr for self and _cmd, since  
these are just DeclRefs which reference an implicit decl.  The  
situation is different for super, however, since it is has different  
semantics (it is only valid as the receiver in message expressions).

David



More information about the cfe-dev mailing list