llvm-project/clang/lib
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
..
AST Handle emitting __builtin_huge_valf as a constant expr. 2008-08-25 03:27:15 +00:00
Analysis Added 'extents' for Regions. 2008-08-25 19:33:03 +00:00
Basic Stop asserting in TargetInfo::validateInputConstraint 2008-08-25 09:46:27 +00:00
CodeGen Do typechecking and codegen for K&R-style function declarations 2008-08-25 21:31:01 +00:00
Driver Moved HTMLDiagnostics to lib/Driver. 2008-08-24 02:33:36 +00:00
Headers Implementation of stdarg.h. 2008-05-29 10:40:55 +00:00
Lex Rename Preprocessor::DisableBacktrack -> Preprocessor::CommitBacktrackedTokens. 2008-08-24 12:29:43 +00:00
Parse Pass SourceRanges by reference to the various Diag methods. 2008-08-24 13:14:02 +00:00
Rewrite honor EscapeSpaces in 2nd overload of EscapeText() 2008-08-16 22:24:33 +00:00
Sema In incompatible pointer-typed ?: expressions, add implicit conversion 2008-08-26 00:41:39 +00:00
Makefile add a libDriver, for now only move the text diangostics stuff from Driver to there 2008-08-05 23:33:20 +00:00