Adding source type info to explicit casts.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Adding source type info to explicit casts.

Enea Zaffanella
Hello.

Please find attached a patch (based on r93149) for adding source type
info to all Expr nodes derived from ExplicitCastExpr.

The patch passes all clang tests.

Cheers,
Enea Zaffanella.


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

ExplicitCast-TypeInfo.patch (41K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Adding source type info to explicit casts.

John McCall
On Jan 15, 2010, at 5:51 AM, Enea Zaffanella wrote:
> <ExplicitCast-TypeInfo.patch>

Looks good.  I'll make the changes in a follow-up patch, but in the future please try to preserve type source information through template instantiation;  your patch does a good job and then abandons the source info at the last minute.

Thanks!

John.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev