hanchenye-llvm-project/clang/test
Steve Naroff a78c464c9e Fix a bug in Sema::CheckConditionalOperands(). When mixing pointers and null pointer constants, we need to promote the null pointer constant (which is an integer) to the pointer type. Test case is self explanatory.
This surfaced yesterday, when compiling test/Sema/cocoa.m on Leopard. Since this has nothing to do with ObjC, it's kind of bizarre this hasn't shown up before. I imagine Cocoa.h on Leopard may have changed recently? 

Thanks to Ted for localizing the bug and giving me a useful AST dump...

llvm-svn: 43114
2007-10-18 05:13:08 +00:00
..
CodeGen Recognize while(1) and avoid extra blocks. 2007-10-09 20:51:27 +00:00
Lexer rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
Misc Removed option "-parse-ast-check" from clang driver. This is now implemented 2007-09-26 20:14:22 +00:00
Parser remove typedef. 2007-10-18 00:38:23 +00:00
Preprocessor If we see an invalid #ifdef directive, enter a conditional compilation region 2007-09-24 05:14:57 +00:00
Sema Fix a bug in Sema::CheckConditionalOperands(). When mixing pointers and null pointer constants, we need to promote the null pointer constant (which is an integer) to the pointer type. Test case is self explanatory. 2007-10-18 05:13:08 +00:00
Makefile run .m files as tests 2007-08-23 01:09:45 +00:00
TestRunner.sh Make make check work again. 2007-06-08 17:57:13 +00:00