[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
Wed Feb 28 04:38:33 PST 2018


avt77 updated this revision to Diff 136273.
avt77 added a comment.

I separated analyze of compound assignments from simple ones and created special diagnostic. Hope, now it's OK.


https://reviews.llvm.org/D42728

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/Sema/constant-conversion.c
  test/Sema/conversion.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42728.136273.patch
Type: text/x-patch
Size: 7445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180228/4d902068/attachment.bin>


More information about the llvm-commits mailing list