[PATCH] D42728: Add more warnings for implict conversions (e.g. double truncation to float).
Andrew V. Tischenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 13 02:38:13 PDT 2018
avt77 updated this revision to Diff 138143.
avt77 added a comment.
If I understood rjmccall correctly I should do both: recurse in LHS/RHS and check the outermost expression. If it is I fixed the issue.
https://reviews.llvm.org/D42728
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaChecking.cpp
test/Sema/conversion.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42728.138143.patch
Type: text/x-patch
Size: 4938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180313/92ec92d2/attachment.bin>
More information about the llvm-commits
mailing list