[cfe-commits] r136203 - in /cfe/trunk: lib/Sema/SemaCXXScopeSpec.cpp test/SemaTemplate/lookup-dependent-bases.cpp
Francois Pichet
pichet2000 at gmail.com
Wed Jul 27 07:38:07 PDT 2011
On Tue, Jul 26, 2011 at 9:57 PM, John McCall <rjmccall at apple.com> wrote:
> On Jul 26, 2011, at 6:05 PM, Francois Pichet wrote:
>> Author: fpichet
>> Date: Tue Jul 26 20:05:24 2011
>> New Revision: 136203
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=136203&view=rev
>> Log:
>> In Microsoft mode, if we are within a templated function and we can't resolve Identifier during BuildCXXNestedNameSpecifier, then extend the SS with Identifier. This will have the effect of resolving Identifier during template instantiation. The goal is to be able to resolve a function call whose nested-name-specifier is located inside a dependent base class.
>
> Shouldn't this be gated on DelayedTemplateParsing rather than Microsoft mode?
>
Why should it be? This is really about
http://clang.llvm.org/compatibility.html#dep_lookup_bases.
Maybe it is related but I see it as a somehow different topic.
I am going to have another patch about this topic later for the case
of dependent function calls not prefixed with a nested-name-specifier.
More information about the cfe-commits
mailing list