Wrong lookup performed for __super

Reid Kleckner rnk at google.com
Mon Nov 10 11:47:43 PST 2014


I see lots of calls to LookupQualifiedName and only a few of them check if
they should call LookupInSuper.

Many users of LookupQualifiedName are looking up thinks like
SomeClass::operator=, so they don't have a CXXScopeSpec. Maybe we should
add a CXXScopeSpec overload to LookupQualifiedName to make it easier for
callers to do the right thing?

On Fri, Nov 7, 2014 at 3:31 AM, Nikola Smiljanic <popizdeh at gmail.com> wrote:

> Ping
>
> On Fri, Oct 24, 2014 at 11:35 AM, Nikola Smiljanic <popizdeh at gmail.com>
> wrote:
>
>> It seems that there's one more place where we need to call LookupInSuper.
>> I've modified the relevant tests to catch this by having different
>> signature for the method and making sure the right one is called.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141110/95e3b8d3/attachment.html>


More information about the cfe-commits mailing list