[PATCH] D64666: [Sema] Enable -Wimplicit-int-float-conversion for integral to floating point precision loss
Michał Górny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 2 22:03:00 PDT 2019
mgorny added a comment.
In D64666#1613057 <https://reviews.llvm.org/D64666#1613057>, @ziangwan wrote:
> The warning is actually correct here. This implicit integral to float conversion loses precision. Is it the intended behavior of the code? If so, we can simply add an explicit type cast to silence the warning.
I don't really know. Hence, I added author of the code and libc++ maintainers as subscribers. Do you think I should open a bug for it too?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64666/new/
https://reviews.llvm.org/D64666
More information about the cfe-commits
mailing list