hanchenye-llvm-project/clang/test
Daniel Dunbar 40bf7fe20e In incompatible pointer-typed ?: expressions, add implicit conversion
of RHSs to id type instead of void* if either has Objective-C object
type.
 - This ensures the result can still be used in normal places an
   object can be used, like a message send.

Add implicit conversions for ?: applied to qualified id types to
ensure that the RHSs are compatible. 
 - This prevents a codegen crash (creating invalid PHI nodes).
 - Again, this relates to the fact that qualified id types have no
   canonical types.
 - Note that the implicit type casted to is incorrect, however this
   doesn't currently cause problems because of the flexibility of the
   id type.

Test cases for above.

llvm-svn: 55346
2008-08-26 00:41:39 +00:00
..
Analysis Enhance null-dereference checker test. 2008-08-16 00:45:40 +00:00
CodeGen In incompatible pointer-typed ?: expressions, add implicit conversion 2008-08-26 00:41:39 +00:00
Lexer update this testcase. 2008-07-25 18:42:46 +00:00
Misc fix bogus run line. 2008-08-18 19:54:48 +00:00
Parser Fix a minor crash-on-invalid. 2008-08-20 22:07:34 +00:00
Preprocessor make test fails if llvm is checked out to llvm-svn of if there is a dash somewhere else in the path. fix that. 2008-08-22 09:33:51 +00:00
Rewriter Fix crasher in RewriteObjC::RewriteObjCSynchronizedStmt(). Can't depend on the source locations of the sync expression (since it may have been rewritten. 2008-08-19 13:04:19 +00:00
Sema Fix for PR2720; be a little bit more permissive in initializers for 2008-08-25 20:46:57 +00:00
SemaCXX Add carbon.cpp and cocoa.mm tests 2008-08-23 22:21:00 +00:00
SemaObjC In incompatible pointer-typed ?: expressions, add implicit conversion 2008-08-26 00:41:39 +00:00
SemaObjCXX Add carbon.cpp and cocoa.mm tests 2008-08-23 22:21:00 +00:00
Serialization Added "complex.c" (a copy of test/Codegen/complex.) to the serialization 2007-11-29 19:05:51 +00:00
Makefile Handle Objective-C++ tests. 2008-08-23 21:03:10 +00:00
TestRunner.sh Remove bashism; sh != bash on Ubuntu. 2008-07-27 05:05:07 +00:00