llvm-project/clang/test/SemaObjC
Steve Naroff 1d4a9a31b6 Fix <rdar://problem/6315646> clang on xcode: error: invalid operands to binary expression ('id<NSTableViewDelegate>' and 'XCExtendedArrayController *').
There is still a bug here (as the FIXME in the test case indicates). Prior to this patch, the bug would generate an error. Now, we simply do nothing (which is less harmful until we can get it right). The complete bug fix will require changing ASTContext::mergeTypes(), which I'd like to defer for now.

llvm-svn: 58241
2008-10-27 10:33:19 +00:00
..
DoubleMethod.m
alias-test-1.m
alias-test-2.m
argument-checking.m
at-defs.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
bad-receiver-1.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
category-1.m simplify some code. 2008-07-26 03:47:43 +00:00
category-method-lookup.m Fix <rdar://problem/6252129> implementation of method in category doesn't effectively declare it for methods below. 2008-09-28 14:55:53 +00:00
check-dup-decl-methods-1.m
check-dup-objc-decls-1.m
class-conforming-protocol-1.m
class-def-test-1.m simplify some code. 2008-07-26 03:47:43 +00:00
class-impl-1.m
class-proto-1.m simplify some code. 2008-07-26 03:47:43 +00:00
cocoa.m
compare-qualified-id.m Fix <rdar://problem/6311947> clang on xcode (regression): error: use of undeclared identifier 'expandedValue'. 2008-10-22 22:40:28 +00:00
compatible-protocol-qualified-types.m Downgrade incompatibilities with objc qualified types (e.g. id <P>) to warnings. 2008-10-14 22:18:38 +00:00
comptypes-1.m Fix <rdar://problem/6315646> clang on xcode: error: invalid operands to binary expression ('id<NSTableViewDelegate>' and 'XCExtendedArrayController *'). 2008-10-27 10:33:19 +00:00
comptypes-2.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
comptypes-3.m Downgrade incompatibilities with objc qualified types (e.g. id <P>) to warnings. 2008-10-14 22:18:38 +00:00
comptypes-4.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
comptypes-5.m Downgrade incompatibilities with objc qualified types (e.g. id <P>) to warnings. 2008-10-14 22:18:38 +00:00
comptypes-6.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
comptypes-7.m Sema::CheckCompareOperands() and ASTContext::mergeTypes(): Change handling of ObjC qualified id types to be consistent with gcc. This changes a handful of test case errors into warnings (diff will tell you which cases have changed). 2008-10-20 18:19:10 +00:00
comptypes-8.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
comptypes-9.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
comptypes-a.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
conditional-expr-2.m Improve type-checking of ?: for Objective-C types. 2008-09-03 17:53:25 +00:00
conditional-expr-3.m Downgrade incompatibilities with objc qualified types (e.g. id <P>) to warnings. 2008-10-14 22:18:38 +00:00
conditional-expr-4.m Iterate on sema for :? in Objective-C: 2008-09-11 23:12:46 +00:00
conditional-expr.m Downgrade incompatibilities with objc qualified types (e.g. id <P>) to warnings. 2008-10-14 22:18:38 +00:00
conflicting-ivar-test-1.m
const-id.m
enhanced-proto-2.m
foreach-1.m Objective-C foreach selector elements must be lvalues. 2008-08-25 18:16:36 +00:00
format-strings-objc.m Add support for CFString in format attribute. 2008-09-26 03:32:58 +00:00
forward-class-1.m
gcc-cast-ext.m
id_builtin.m
incompatible-protocol-qualified-types.m
interface-1.m proper grammar n stuph 2008-08-18 22:51:28 +00:00
interface-layout.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
invalid-code.m Fix rdar://6124613 a crash on invalid code. 2008-08-05 06:19:09 +00:00
invalid-objc-decls-1.m
invalid-typename.m Fix a crasher during error recovery in Parser::ParseObjCTypeName(). 2008-10-21 14:15:04 +00:00
ivar-lookup.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
ivar-sem-check-1.m
legacy-implementation-1.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
message.m Fix two bugs exposed by array passing assert: 2008-09-11 00:50:25 +00:00
method-attributes.m Improve attribute parsing & tests. 2008-10-19 02:04:16 +00:00
method-def-1.m Fix a FIXME by not creating an invalid AST on erroneous input. Also 2008-08-23 01:48:03 +00:00
method-def-2.m
method-encoding-2.m
method-lookup-2.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
method-lookup-3.m Fix <rdar://problem/6261178> clang-on-xcode: [sema] multiple method warning is over enthusiastic. 2008-10-21 10:37:50 +00:00
method-lookup.m
method-not-defined.m
method-undef-category-warn-1.m
method-undefined-warn-1.m
missing-method-context.m
objc-gc-attr.m Fix silly bug in objc_gc attribute parsing and add test case 2008-08-24 16:33:25 +00:00
property-1.m Fix <rdar://problem/6253149> property declaration doesn't declare getter and setter. 2008-09-29 14:20:56 +00:00
property-2.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
property-3.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
property-4.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
property-5.m Add ObjCPropertyDecl::isReadOnly. 2008-08-26 07:16:44 +00:00
property-6.m Restore Objective-C dot-syntax access of methods. 2008-09-03 01:05:41 +00:00
property-7.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
property-8.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
property-9-impl-method.m Restore Objective-C dot-syntax access of methods. 2008-09-03 01:05:41 +00:00
property-9.m Fix <rdar://problem/6268365> Parser rejects property (dot notation) access on id<protocol>. 2008-10-20 22:53:06 +00:00
property-10.m Fix <rdar://problem/6257645> clang static analyzer crashes when encountering blocks as objects 2008-10-21 18:21:45 +00:00
property-11.m Fix <rdar://problem/6257675> error: member reference base type ('NSUserDefaults *') is not a structure or union. 2008-10-22 19:16:27 +00:00
props-on-prots.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
protocol-archane.m Fix http://llvm.org/bugs/show_bug.cgi?id=2816. 2008-09-22 10:28:57 +00:00
protocol-expr-1.m
protocol-expr-neg-1.m
protocol-id-test-1.m
protocol-id-test-2.m
protocol-id-test-3.m Downgrade incompatibilities with objc qualified types (e.g. id <P>) to warnings. 2008-10-14 22:18:38 +00:00
protocol-implementation-inherited.m Fix unintended use of doxygen comment strings. 2008-09-04 21:54:53 +00:00
protocol-test-1.m refactor a bunch of code: 2008-10-20 06:10:06 +00:00
protocol-test-2.m simplify some code. 2008-07-26 03:47:43 +00:00
rdr-6211479-array-property.m Add XFAIL test case for: 2008-09-10 23:11:23 +00:00
selector-1.m
selector-overload.m
static-ivar-ref-1.m
string.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
synchronized.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
try-catch.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
typedef-class.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
undef-protocol-methods-1.m
undef-superclass-1.m
undefined-protocol-type-1.m
unused.m remove objc prefixes from these tests. 2008-07-26 01:04:40 +00:00
va-method-1.m