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

Sam Panzer espanz at gmail.com
Wed Feb 13 17:48:50 PST 2013


  This change might need a few tweaks such as a clearer error message. I only implemented it to work for bitwise or, though it may be logical to extend it to integer multiplication, where we can again be sure of overflow in some cases.

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



More information about the cfe-commits mailing list