[PATCH] Add a truncation warning for values under a bitwise or

Sam Panzer espanz at gmail.com
Fri Mar 29 16:31:23 PDT 2013


  Fixed the reported false positives.

  It turned out that compound assignment operators were not handled correctly, so they were not subjected to the check for false positives. A test was added for this; all compound assignment operators now behave properly.

http://llvm-reviews.chandlerc.com/D405

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D405?vs=1294&id=1444#toc

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/Sema/constant-conversion.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D405.10.patch
Type: text/x-patch
Size: 15360 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130329/86a7bfd6/attachment.bin>


More information about the cfe-commits mailing list