[cfe-dev] Objective-C super parsing
Ted Kremenek
kremenek at apple.com
Sun Jun 22 22:07:03 PDT 2008
On Jun 21, 2008, at 11:10 AM, David Chisnall wrote:
> 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
Cool. Thanks for the clarification!
More information about the cfe-dev
mailing list