rnk added a comment.

In https://reviews.llvm.org/D30923#700708, @hfinkel wrote:

> In https://reviews.llvm.org/D30923#700696, @rnk wrote:
>
> > Do you think it's worth indicating that the error can be suppressed with an 
> > explicit cast, or is that wasted space?
>
>
> What might this look like? Also, I don't see a regression test for this.


The warning only looks through implicit casts and paren exprs, so it could look 
like this:  `f.two_bits = (unsigned)three_bits;` I added a test for it.


https://reviews.llvm.org/D30923



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to