__super inside return statement

Richard Smith richard at metafoo.co.uk
Fri Oct 3 14:18:55 PDT 2014


Thanks, looks great!

On Thu, Oct 2, 2014 at 8:54 PM, Nikola Smiljanic <popizdeh at gmail.com> wrote:

> Excellent catch Richard. I tried to do this initially but couldn't since
> lookup branching calls both LookupQualifiedName and LookupParsedName but it
> makes much more sense now...
>
> On Fri, Oct 3, 2014 at 10:49 AM, Richard Smith <richard at metafoo.co.uk>
> wrote:
>
>> Is there a reason not to put the check for __super into LookupParsedName
>> itself?
>>
>> On Tue, Sep 30, 2014 at 10:54 PM, Nikola Smiljanic <popizdeh at gmail.com>
>> wrote:
>>
>>> Lookup needs to be performed in one more place for this to work.
>>> Otherwise lookup is performed in the wrong context which leading to a
>>> recursive call. Provided that both methods have the same name and signature.
>>>
>>> _______________________________________________
>>> cfe-commits mailing list
>>> cfe-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141003/15aeb62e/attachment.html>


More information about the cfe-commits mailing list