[cfe-commits] r145127 - in /cfe/trunk: lib/Sema/SemaExpr.cpp lib/Sema/SemaOverload.cpp test/SemaTemplate/ms-lookup-template-base-classes.cpp

Matthieu Monrocq matthieu.monrocq at gmail.com
Fri Nov 25 10:41:16 PST 2011


Le 25 novembre 2011 02:10, Francois Pichet <pichet2000 at gmail.com> a écrit :

> Author: fpichet
> Date: Thu Nov 24 19:10:54 2011
> New Revision: 145127
>
> URL: http://llvm.org/viewvc/llvm-project?rev=145127&view=rev
> Log:
> In Microsoft mode, make "Unqualified lookup into dependent bases of class
> templates" works  inside a friend function definition at class scope.
>
> Basically we have to look into the parent *lexical* DeclContext for friend
> functions at class scope. That's because calling GetParent() return the
> namespace or file DeclContext.
>
> This fixes all remaining cases of "Unqualified lookup into dependent bases
> of class templates" when parsing MFC code with clang.
>

Wow nice!

Just for our information, could you tell us what is missing for parsing MFC
at the moment ? If I remember the previous point you had made, you might be
getting very close by now.

-- Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111125/b8fa4115/attachment.html>


More information about the cfe-commits mailing list