[PATCH] D64666: [Sema] Enable -Wimplicit-float-conversion for integral to floating point precision loss
Ziang Wan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 23 15:40:16 PDT 2019
ziangwan marked an inline comment as done.
ziangwan added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:3279
+ "implicit conversion from %2 to %3 changes value from %0 to %1">,
+ InGroup<ImplicitFloatConversion>, DefaultIgnore;
+
----------------
xbolva00 wrote:
> Drop ‘DefaultIgnore‘ here
I wish both warnings to be off by default and can be turned on by `-Wconversion` (`-Wimplicit-float-conversion`).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64666/new/
https://reviews.llvm.org/D64666
More information about the cfe-commits
mailing list