clang-1/test/SemaObjC
Fariborz Jahanian b2ef1beb81 Fix a regression in accessing class getter using the dot-syntax
notation. There is still an issue accessing field of a 'Class''s isa
in legacy code using dot field access notation (as noted in the test case)
but unrelated to this patch.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82555 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-22 16:48:37 +00:00
..
ContClassPropertyLookup.m Fix up lookup rules for properties declared in 2009-04-02 18:44:20 +00:00
DoubleMethod.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
access-property-getter.m Prep for new warning. 2009-07-22 00:43:08 +00:00
alias-test-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
alias-test-2.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
argument-checking.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
at-defs.m Force triple (test case fails for platforms with the non-fragile ABI). 2009-04-21 21:17:29 +00:00
attr-cleanup.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-deprecated.m Changed wording of warning when attribute is on 2009-05-13 00:47:33 +00:00
attr-malloc.m Change handling of attribute 'malloc' to only accept the attribute on function 2009-08-15 00:51:46 +00:00
attr-objc-exception.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-objc-gc.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
bad-receiver-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
block-attr.m Add a warning for a missing copy attribute on a property that is a 2009-05-07 23:06:50 +00:00
block-explicit-return-type.m clang-cc: Remove -ObjC -ObjC++ handling from clang-cc. 2009-09-17 00:47:27 +00:00
block-ivar.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
blocks.m objc2's foreach statement's selector type can be 2009-08-14 21:53:27 +00:00
call-super-2.m Fix <rdar://problem/6770276> Support Class<Proto> syntax. 2009-07-22 16:07:01 +00:00
catch-stmt.m call objc interfaces just "interfaces" in diagnostics, not "Objective-C types" 2009-04-12 08:25:48 +00:00
category-1.m - Introduce ASTContext::getObjCImplementation() and ASTContext::setObjCImplementation() which use a DenseMap to associate 2009-07-21 00:05:53 +00:00
category-method-lookup-2.m Prep for new warning. 2009-07-22 00:43:08 +00:00
category-method-lookup.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
check-dup-decl-methods-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
check-dup-objc-decls-1.m Sema::ActOnStartClassInterface(): Use PushOnScopeChains(). 2009-04-23 15:15:40 +00:00
class-bitfield.m Update tests 2009-09-14 22:00:20 +00:00
class-conforming-protocol-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
class-conforming-protocol-2.m Don't warn if result/argument type of an implemented 2009-05-14 23:52:54 +00:00
class-def-test-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
class-extension-dup-methods.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
class-getter-using-dotsyntax.m Fix a regression in accessing class getter using the dot-syntax 2009-09-22 16:48:37 +00:00
class-impl-1.m Remove Sema::LookupObjCImplementation and replace it with just calling ObjCInterfaceDecl::getImplementation(). 2009-07-21 00:06:04 +00:00
class-method-lookup.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
class-method-self.m ASTContext::mergeTypes(): Loosen up the type checking for 'Class' (treating it like 'id'). 2009-04-14 15:11:46 +00:00
class-property-access.m Fix http://llvm.org/bugs/show_bug.cgi?id=3907. 2009-04-02 18:37:59 +00:00
class-proto-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
cocoa.m Improve handling of (X86) target features. 2009-05-06 03:16:41 +00:00
compare-qualified-id.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
compatible-protocol-qualified-types.m Prep for new warning. 2009-07-22 00:43:08 +00:00
comptypes-1.m Remove a bunch of FIXME's related to ObjC type checking. 2009-07-23 01:01:38 +00:00
comptypes-2.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
comptypes-3.m Implement the ObjC pseudo built-in types as clang "BuiltinType's". I say pseudo built-in types, since Sema still injects a typedef for recognition (i.e. they aren't truly built-ins from a parser perspective). 2009-07-15 18:40:39 +00:00
comptypes-4.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
comptypes-5.m This patch includes a conceptually simple, but very intrusive/pervasive change. 2009-07-10 23:34:53 +00:00
comptypes-6.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
comptypes-7.m Remove a bunch of FIXME's related to ObjC type checking. 2009-07-23 01:01:38 +00:00
comptypes-8.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
comptypes-9.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
comptypes-a.m Prep for new warning. 2009-07-22 00:43:08 +00:00
comptypes-legal.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
conditional-expr-2.m Improve semantic checking for blocks. Radar 6441502 2009-05-07 03:14:14 +00:00
conditional-expr-3.m Implement the ObjC pseudo built-in types as clang "BuiltinType's". I say pseudo built-in types, since Sema still injects a typedef for recognition (i.e. they aren't truly built-ins from a parser perspective). 2009-07-15 18:40:39 +00:00
conditional-expr-4.m Fix <rdar://problem/7100524> regression: "error: incompatible operand types ('void *' and 'NSString *')". 2009-07-29 15:09:39 +00:00
conditional-expr-5.m Type of a ?: expression whose either expression is a built-in 'id' 2009-08-22 22:27:17 +00:00
conditional-expr.m Remove a bunch of FIXME's related to ObjC type checking. 2009-07-23 01:01:38 +00:00
conflicting-ivar-test-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
continuation-class-err.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
crash-label.m test case for my last patch. 2009-08-28 17:53:05 +00:00
deref-interface.m Test for my last patch. 2009-09-02 00:05:10 +00:00
duplicate-ivar-check.m Fix invalid error about duplicate declaration of padding bit field in 2009-05-03 01:08:28 +00:00
enhanced-proto-2.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
error-property-gc-attr.m Force triple for a number of tests that rely on __weak. 2009-04-10 21:23:20 +00:00
exprs.m improve the string literal comparison warning to not call @encode's "string literals". 2009-04-03 21:11:28 +00:00
foreach.m rename test 2009-04-22 00:59:27 +00:00
format-arg-attribute.m Update test case; I don't really understand why packed enums changed this, but 2009-08-08 15:47:00 +00:00
format-strings-objc.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
forward-class-1.m a forward class declaration matching a typedef name of a class 2009-05-07 21:49:26 +00:00
forward-class-receiver.m We want to diagnose sending message to a forward class 2009-05-08 23:45:49 +00:00
gcc-cast-ext.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
id-isa-ref.m XFAIL this test for now. David/Steve, please sort out the correct fix. 2009-08-17 18:01:54 +00:00
id.m This patch includes a conceptually simple, but very intrusive/pervasive change. 2009-07-10 23:34:53 +00:00
id_builtin.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
ignore-weakimport-method.m ignore weak_import attribute on objc method decls. 2009-05-04 19:35:12 +00:00
incompatible-protocol-qualified-types.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
inst-method-lookup-in-root.m Issue a warning in odd case of instance method used 2009-05-05 18:34:37 +00:00
interface-1.m Remove the -arch option from clang-cc: for all practical purposes, it's 2009-05-19 11:12:40 +00:00
interface-layout-2.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
interface-layout.m force a 32-bit triple. 2009-04-21 21:42:41 +00:00
interface-scope-2.m Prep for new warning. 2009-07-22 00:43:08 +00:00
interface-scope.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
interface-tu-variable.m Change diagnostic as a result of researching <rdar://problem/6779809> missing interface name in "error: cannot declare variable inside a class, protocol or category ''. 2009-04-13 17:58:46 +00:00
invalid-code.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
invalid-objc-decls-1.m error on property of objc interface type instead of crashing 2009-08-12 18:17:53 +00:00
invalid-receiver.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
invalid-typename.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
ivar-access-package.m Fix <rdar://problem/6697053> instance variable is protected. 2009-03-26 16:01:08 +00:00
ivar-access-tests.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
ivar-lookup.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
ivar-ref-misuse.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
ivar-sem-check-1.m Change SemaType's "GetTypeForDeclarator" and "ConvertDeclSpecToType" to 2009-04-25 08:47:54 +00:00
ivar-sem-check-2.m Use of super class ivar to synthesize property is back to being error. 2009-04-30 21:39:24 +00:00
legacy-implementation-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
message.m Remove cast from test case (cast was incorrectly added as part of http://llvm.org/viewvc/llvm-project?view=rev&revision=75314). 2009-07-15 19:44:23 +00:00
method-arg-decay.m Prep for new warning. 2009-07-22 00:43:08 +00:00
method-attributes.m Changed wording of warning when attribute is on 2009-05-13 00:47:33 +00:00
method-bad-param.m This patch does the following. 2009-09-03 00:43:07 +00:00
method-conflict.m Prep for new warning. 2009-07-22 00:43:08 +00:00
method-def-1.m improve the 'conflicting types' diagnostics to include correct location info, now 2009-04-11 19:58:42 +00:00
method-def-2.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
method-encoding-2.m Prep for new warning. 2009-07-22 00:43:08 +00:00
method-lookup-2.m Prep for new warning. 2009-07-22 00:43:08 +00:00
method-lookup-3.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
method-lookup-4.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
method-lookup.m Prep for new warning. 2009-07-22 00:43:08 +00:00
method-no-context.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
method-not-defined.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
method-sentinel-attr.m Look for and diagnose missing sentinel argument on message 2009-05-13 23:20:50 +00:00
method-typecheck-1.m Prep for new warning. 2009-07-22 00:43:08 +00:00
method-typecheck-2.m Check for method type conflict between declaration in 2009-05-01 20:07:12 +00:00
method-undef-category-warn-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
method-undef-extension-warn-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
method-undefined-warn-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
missing-method-context.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
newproperty-class-method-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
no-gc-weak-test.m Fix another fallout from defining __weak unconditionally. 2009-04-10 22:42:54 +00:00
no-warn-synth-protocol-meth.m Real corener case of a method declared in a protocol 2009-04-03 21:51:32 +00:00
no-warn-unimpl-method.m Prep for new warning. 2009-07-22 00:43:08 +00:00
nonnull.m Handle some more fallout with the conversion of using PointerType for 2009-07-15 23:23:54 +00:00
nsobject-attribute-1.m Added -fblocks to the test's options. 2009-05-22 20:06:10 +00:00
nsobject-attribute.m Semantic checking for main(). 2009-07-25 04:36:53 +00:00
objc-string-constant.m Fix typo in newly added test case. 2009-04-07 14:22:40 +00:00
objc2-merge-gc-attribue-decl.m This patch includes a conceptually simple, but very intrusive/pervasive change. 2009-07-10 23:34:53 +00:00
objc2-warn-weak-decl.m Force triple for a number of tests that rely on __weak. 2009-04-10 21:23:20 +00:00
property-2.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-3.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-4.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-5.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-6.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-7.m Update test case. 2009-06-01 17:27:37 +00:00
property-8.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-9-impl-method.m Prep for new warning. 2009-07-22 00:43:08 +00:00
property-9.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-10.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-11.m Prep for new warning. 2009-07-22 00:43:08 +00:00
property-12.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-13.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-category-1.m Diagnose properties which have no implementations; 2009-04-14 23:15:21 +00:00
property-category-2.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-category-3.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-error-readonly-assign.m Using the property dot-syntax to invoke a non-eixsting 2009-09-14 16:40:48 +00:00
property-expression-error.m Diagnose, and not crash, when taking address of property expression. 2009-07-07 18:50:52 +00:00
property-impl-misuse.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-inherited.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-ivar-mismatch.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-method-lookup-impl.m Prep for new warning. 2009-07-22 00:43:08 +00:00
property-missing.m This patch includes a conceptually simple, but very intrusive/pervasive change. 2009-07-10 23:34:53 +00:00
property-nonfragile-abi.m fe support for objc2's nonfragile-abi synthesized ivars. 2009-03-31 00:06:29 +00:00
property-noprotocol-warning.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-redundant-decl-accessor.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-typecheck-1.m Fixes a bug in my last patch. Order of types reversed. 2009-05-08 21:10:00 +00:00
property-user-setter.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property-weak.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
property.m Diagnose properties which have no implementations; 2009-04-14 23:15:21 +00:00
props-on-prots.m Check for method type conflict between declaration in 2009-05-01 20:07:12 +00:00
protocol-archane.m Fix <rdar://problem/6770276> Support Class<Proto> syntax. 2009-07-22 16:07:01 +00:00
protocol-attribute.m Fix <rdar://problem/6770276> Support Class<Proto> syntax. 2009-07-22 16:07:01 +00:00
protocol-expr-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
protocol-expr-neg-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
protocol-id-test-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
protocol-id-test-2.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
protocol-id-test-3.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
protocol-implementation-inherited.m Prep for new warning. 2009-07-22 00:43:08 +00:00
protocol-lookup-2.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
protocol-lookup.m Prep for new warning. 2009-07-22 00:43:08 +00:00
protocol-qualified-class-unsupported.m Fix <rdar://problem/6770276> Support Class<Proto> syntax. 2009-07-22 16:07:01 +00:00
protocol-typecheck.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
protocols.m rename test 2009-04-12 08:47:09 +00:00
rdr-6211479-array-property.m Remove an ObjC-specific XFAIL (and tweak test). 2009-07-29 15:24:47 +00:00
return.m Add warning for falling off the end of a function that should return a 2009-07-22 23:56:57 +00:00
scope-check.m add support for goto checking and @synchronized blocks, 2009-04-21 06:01:00 +00:00
selector-1.m Don't issue warning on multiple selector found when 2009-08-22 21:13:55 +00:00
selector-error.m Cannot type cast @selector expressions. 2009-05-22 21:42:52 +00:00
selector-overload.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
sizeof-interface.m Diagnose ++/-- op on objc pointers in 2009-07-16 17:59:14 +00:00
static-ivar-ref-1.m This patch does the following. 2009-09-03 00:43:07 +00:00
stmts.m add some more coverage. 2009-04-12 23:29:27 +00:00
string.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
super-cat-prot.m Prep for new warning. 2009-07-22 00:43:08 +00:00
super-property-message-expr.m Fixed a problem using property syntax on a 'super' 2009-04-08 19:50:10 +00:00
super-property-notation.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
super.m Prep for new warning. 2009-07-22 00:43:08 +00:00
synchronized.m Prep for new warning. 2009-07-22 00:43:08 +00:00
synthesize-setter-contclass.m Patch to remove a bogus warning which pointed to underlying AST 2009-04-15 19:19:03 +00:00
synthesized-ivar.m fe support for objc2's nonfragile-abi synthesized ivars. 2009-03-31 00:06:29 +00:00
try-catch.m implement semantic analysis for @synchronized, fixing a crash on invalid 2009-04-21 06:11:25 +00:00
typedef-class.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
ucn-objc-string.m Tweak test (now that http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090330/015001.html is fixed). 2009-04-03 01:25:18 +00:00
undeclared-selector.m Test case was left behind from my last patch. 2009-06-16 17:57:28 +00:00
undef-class-messagin-error.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
undef-protocol-methods-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
undef-superclass-1.m don't crash if class is using itself as its super class. 2009-07-09 22:08:26 +00:00
undefined-protocol-type-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
unused.m Improve the diagnostic emitted when an unused ObjC property getter 2009-08-16 16:57:27 +00:00
va-method-1.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
warn-assign-property-nscopying.m Fixed a regression in deciding when to issue warning on properties which 2009-08-14 18:06:25 +00:00
warn-selector-selection.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
warn-superclass-method-mismatch.m Removed -Wundeclared-selector and -Wreadonly-setter-attrs from 2009-08-22 19:24:56 +00:00
warn-weak-field.m Force triple for a number of tests that rely on __weak. 2009-04-10 21:23:20 +00:00
weak-attr-ivar.m Prep for new warning. 2009-07-22 00:43:08 +00:00
writable-property-in-superclass.m writable property in a category of class's superclass 2009-04-06 16:59:10 +00:00