On Thu, Jun 16, 2011 at 10:09 AM, Chandler Carruth <[email protected]> wrote:
> +def warn_sizeof_pointer_expr_memaccess : Warning<
> +  "argument to 'sizeof' in %0 call is the same expression as the "
> +  "%select{destination|source}1; did you mean to "
> +  "%select{dereference it|remove the addressof|provide an explicit 
> length}2?">,

Maybe the "did you mean to dereference/remove addressof" part could be a fixit?

Otherwise, this looks good as far as I can tell.

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

Reply via email to