[PATCH] D52835: [Diagnostics] Check integer to floating point number implicit conversions

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 12 00:05:00 PDT 2018


lebedev.ri added a comment.

In https://reviews.llvm.org/D52835#1263032, @xbolva00 wrote:

> As noted, this in under LiteralConversion (-Wconversion). GCC has it too under -Wconversion, so I think it is fine as is, or? 
>  @rsmith


It's not so much about "which flag group do i need to enable to get the warning";
it's about "which flag do i need to disable to silence it", and "how fine-grained that flag is, how many warnings will get disabled".
The flags should be pretty fine-grained.


https://reviews.llvm.org/D52835





More information about the cfe-commits mailing list