[PATCH] Add a truncation warning for values under a bitwise or
Sam Panzer
espanz at gmail.com
Thu Mar 14 18:14:42 PDT 2013
Added test to check for narrowing diagnostic if both operands are known at compile time.
http://llvm-reviews.chandlerc.com/D405
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D405?vs=1293&id=1294#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.9.patch
Type: text/x-patch
Size: 13909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130314/596cf2a7/attachment.bin>
More information about the cfe-commits
mailing list