<br><br><div class="gmail_quote">Le 25 novembre 2011 21:29, Francois Pichet <span dir="ltr"><<a href="mailto:pichet2000@gmail.com">pichet2000@gmail.com</a>></span> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Fri, Nov 25, 2011 at 1:41 PM, Matthieu Monrocq<br>
<<a href="mailto:matthieu.monrocq@gmail.com">matthieu.monrocq@gmail.com</a>> wrote:<br>
><br>
><br>
> Le 25 novembre 2011 02:10, Francois Pichet <<a href="mailto:pichet2000@gmail.com">pichet2000@gmail.com</a>> a écrit :<br>
>><br>
>> Author: fpichet<br>
>> Date: Thu Nov 24 19:10:54 2011<br>
>> New Revision: 145127<br>
>><br>
>> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=145127&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=145127&view=rev</a><br>
>> Log:<br>
>> In Microsoft mode, make "Unqualified lookup into dependent bases of class<br>
>> templates" works  inside a friend function definition at class scope.<br>
>><br>
>> Basically we have to look into the parent *lexical* DeclContext for friend<br>
>> functions at class scope. That's because calling GetParent() return the<br>
>> namespace or file DeclContext.<br>
>><br>
>> This fixes all remaining cases of "Unqualified lookup into dependent bases<br>
>> of class templates" when parsing MFC code with clang.<br>
><br>
> Wow nice!<br>
><br>
> Just for our information, could you tell us what is missing for parsing MFC<br>
> at the moment ? If I remember the previous point you had made, you might be<br>
> getting very close by now.<br>
><br>
<br>
</div></div>clang is 2 issues away from being able to parse (-fsyntax-only) the<br>
default wizard generated MFC app.<br>
<br>
1. There is the missing typename patch I submitted 3 weeks ago. I am<br>
going to ping dgregor about it when he comes back.<br>
2. cl.exe allows creating a pointer to a member function in a cast by<br>
just naming the function as in OnMember instead of &CLASS::OnMember.<br>
</blockquote></div><br>Wow!<br><br>Many thanks for the heads-up, looks like you are extremely close indeed... "Courage!"<br><br>-- Matthieu<br>