llvm-project/clang/lib/Sema
Eli Friedman 928ab4d546 Sema-based fix for PR2334. The issue is that even if the two sides of
the condidtional have compatible types, they are not necessarily the 
same type.  Therefore, we cast to the composite type.  As a hack, for 
the moment we assume that the composite type is the type of the 
left-hand expression; this isn't correct, but it's good enough for most 
purposes.

llvm-svn: 51202
2008-05-16 20:37:07 +00:00
..
IdentifierResolver.cpp Comments fix. 2008-05-15 17:26:35 +00:00
IdentifierResolver.h Comments fix. 2008-05-15 17:26:35 +00:00
Makefile Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
ParseAST.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
Sema.cpp Addition of TranslationUnitDecl to the AST: 2008-04-17 14:40:12 +00:00
Sema.h Implementation of __builtin_shufflevector, a portable builtin capable of 2008-05-14 19:38:39 +00:00
SemaChecking.cpp Review nit. 2008-05-16 17:54:49 +00:00
SemaDecl.cpp Fix <rdar://problem/5924576> clang -fsyntax-only generates "redefinition" errors when parsing AppKit that gcc does not. 2008-05-12 22:36:43 +00:00
SemaDeclCXX.cpp -Implement proper name lookup for namespaces. 2008-05-09 23:39:43 +00:00
SemaDeclObjC.cpp Synthesized getter/setter method declarations need not have 2008-05-07 20:53:44 +00:00
SemaExpr.cpp Sema-based fix for PR2334. The issue is that even if the two sides of 2008-05-16 20:37:07 +00:00
SemaExprCXX.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
SemaExprObjC.cpp Restructure and simplify Sema::ObjCQualifiedIdTypesAreCompatible, 2008-04-20 02:09:31 +00:00
SemaInit.cpp Several fixes to SemaInit.cpp. It's still not enabled (since it fails a few tests). Expect to enable it very soon. 2008-05-06 00:23:44 +00:00
SemaStmt.cpp Remove FileVarDecl and BlockVarDecl. They are replaced by VarDecl::isBlockVarDecl() and VarDecl::isFileVarDecl(). 2008-04-15 22:42:06 +00:00
SemaType.cpp An array of VLAs is a VLA. Shouldn't make any significant difference at 2008-05-14 00:40:18 +00:00
SemaUtil.h Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00