Lines Matching refs:ARC
65 - (id)retain { return self; } // expected-error {{ARC forbids implementation}}
66 - (id)retainCount { return self; } // expected-error {{ARC forbids implementation}}
67 - (id)autorelease { return self; } // expected-error {{ARC forbids implementation}}
68 - (oneway void)release { } // expected-error {{ARC forbids implementation}}
77 // expected-error {{ARC forbids explicit message send}}
79 // expected-error {{ARC forbids explicit message send}}
81 // expected-error {{ARC forbids explicit message send}} \
85 // expected-error {{ARC forbids explicit message send}}
87 // expected-error {{ARC forbids explicit message send}}
90 [a retainCount]; // expected-error {{ARC forbids explicit message send of 'retainCount'}} \
94 // expected-error {{ARC forbids explicit message send}} \
97 // expected-error {{ARC forbids explicit message send}} \
104 …ase call to transfer ownership of a +1 'CFStringRef' (aka 'const struct __CFString *') into ARC}} \
110 SEL s = @selector(retain); // expected-error {{ARC forbids use of 'retain' in a @selector}}
111 s = @selector(release); // expected-error {{ARC forbids use of 'release' in a @selector}}
112 s = @selector(autorelease); // expected-error {{ARC forbids use of 'autorelease' in a @selector}}
113 s = @selector(dealloc); // expected-error {{ARC forbids use of 'dealloc' in a @selector}}
119 A* a; // expected-error {{ARC forbids Objective-C objects in struct}}
227 - (Test8*) init43; // this should be a warning, but that's a general language thing, not an ARC thi…
307 RELEASE_MACRO(p); // expected-error {{ARC forbids explicit message send of 'release'}}
352 …lease call to transfer ownership of a +1 'CFStringRef' (aka 'const struct __CFString *') into ARC}}