+  // 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

On Tue, Nov 13, 2012 at 6:24 PM, Richard Trieu <[email protected]> wrote:
>   Turned off warnings in analysis tests.  Enable the warning on enums again.  
> Added more tests.
>
> http://llvm-reviews.chandlerc.com/D113
>
> CHANGE SINCE LAST DIFF
>   http://llvm-reviews.chandlerc.com/D113?vs=302&id=320#toc
>
> Files:
>   test/Analysis/additive-folding.cpp
>   test/SemaCXX/compare.cpp
>   lib/Sema/SemaChecking.cpp
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to