llvm-project/clang/test
Chris Lattner 99ca091b9c Warn when performing 'usual' conversions that require a sign change. This
implements test/Preprocessor/expr_usual_conversions.c, which produces this
output:

expr_usual_conversions.c:5:10: warning: left side of operator converted from negative value to unsigned: -42 to 18446744073709551574
#if (-42 + 0U) / -2
         ^
expr_usual_conversions.c:5:16: warning: right side of operator converted from negative value to unsigned: -2 to 18446744073709551614
#if (-42 + 0U) / -2
               ^

llvm-svn: 39406
2007-04-11 04:14:45 +00:00
..
Lexer new testcase 2006-10-17 02:53:13 +00:00
Parser Testcase for bool types. 2007-02-13 01:52:09 +00:00
Preprocessor Warn when performing 'usual' conversions that require a sign change. This 2007-04-11 04:14:45 +00:00
Sema move void argument checking from the parser to the semantic analysis stage. 2006-12-03 02:43:54 +00:00
.cvsignore ignore cruft 2006-07-04 19:03:05 +00:00
Makefile run .cpp files as tests 2006-11-21 17:22:28 +00:00