[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
Wed Jul 24 15:42:29 PDT 2019
ziangwan updated this revision to Diff 211617.
ziangwan added a comment.
Update diff.
1. Make the two warnings controlled by `-Wimplicit-int-float-conversion`, which is a subset of `-Wimplicit-float-conversion`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64666/new/
https://reviews.llvm.org/D64666
Files:
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaChecking.cpp
clang/test/Sema/conversion.c
clang/test/Sema/ext_vector_casts.c
clang/test/Sema/implicit-int-float-conversion.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64666.211617.patch
Type: text/x-patch
Size: 8665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190724/13eb24c0/attachment-0001.bin>
More information about the cfe-commits
mailing list