On Jan 22, 2010, at 8:42 AM, Anders Carlsson wrote:

> 
> 22 jan 2010 kl. 07.08 skrev Douglas Gregor:
>> 
>> I find this code a bit strange... why is it mapping down to the canonical 
>> type then using dyn_cast? It would be simpler just to keep the original 
>> source types and use getAs<> rather than dyn_cast. Then we'll get better 
>> typedef information in the diagnostics, and I won't have to panic every time 
>> I see dyn_cast<> on types.
>> 
> 
> Yeah, that was just a premature optimization done by me :) I'll fix it.

Thanks!

        - Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to