[cfe-dev] Dynamic / Last Resort Lookup
vasil.georgiev.vasilev at cern.ch
Fri Feb 4 06:40:11 PST 2011
On 02/03/2011 08:24 PM, Douglas Gregor wrote:
>> Err, we don't have a use case for those (yet). Does that mean unless we
>> implement namespace, typename etc you don't want to see the patch in? Or
>> is it okay with you as is? The others can still be added to
>> DynamicLookup later, by whoever needs it.
> Well, I would rather see this patch handling the general case (e.g.,
> in Sema::LookupName) rather than just id-expressions, since we don't
> want to have to augment *every* lookup in Sema with a similar "if
> (DynamicLookup && DynamicLookup->PerformLookup(R, S))" statement. Did
> you try that and run into problems?
Good point! This makes more sense. I am attaching the new patch. Please
let us know do you want it in :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4775 bytes
Desc: not available
More information about the cfe-dev