[cfe-dev] Dynamic / Last Resort Lookup

Vassil Vassilev vasil.georgiev.vasilev at cern.ch
Fri Feb 4 06:40:11 PST 2011


Hi,

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 :)
Cheers,
Vassil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sema_DynamicLookup.diff
Type: text/x-patch
Size: 4775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110204/78654175/attachment.bin>


More information about the cfe-dev mailing list