[cfe-commits] [PATCH] Improve -Wtautological-constant-out-of-range-compare

Eli Friedman eli.friedman at gmail.com
Tue Nov 13 18:27:54 PST 2012


  +  // Common signed, other unsigned, constant unsigned
  +  // Should not be possible as the common type should also be unsigned.

  "(unsigned char)x < (unsigned short)256"?  (The common type is "int".)

  -Eli

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



More information about the cfe-commits mailing list