Lines Matching refs:ARC

36   SEL s = @selector(retain);	// expected-error {{ARC forbids use of 'retain' in a @selector}}
37 s = @selector(release); // expected-error {{ARC forbids use of 'release' in a @selector}}
38 s = @selector(autorelease); // expected-error {{ARC forbids use of 'autorelease' in a @selector}}
39 s = @selector(dealloc); // expected-error {{ARC forbids use of 'dealloc' in a @selector}}
40 [a dealloc]; // expected-error {{ARC forbids explicit message send of 'dealloc'}}
41 [a retain]; // expected-error {{ARC forbids explicit message send of 'retain'}}
42 [a retainCount]; // expected-error {{ARC forbids explicit message send of 'retainCount'}}
43 [a release]; // expected-error {{ARC forbids explicit message send of 'release'}}
44 [a autorelease]; // expected-error {{ARC forbids explicit message send of 'autorelease'}}
53 [super dealloc]; // expected-error {{ARC forbids explicit message send of 'dealloc'}}
67 - (id)retain{return 0;} // expected-error {{ARC forbids implementation of 'retain'}}
68 - (id)autorelease{return 0;} // expected-error {{ARC forbids implementation of 'autorelease'}}
69 - (oneway void)release{} // expected-error {{ARC forbids implementation of 'release'}}
70 - (NSUInteger)retainCount{ return 0; } // expected-error {{ARC forbids implementation of 'retainCou…
74 - (id)retain{return 0;} // expected-error {{ARC forbids implementation of 'retain'}} \
76 - (id)autorelease{return 0;} // expected-error {{ARC forbids implementation of 'autorelease'}} \
78 - (oneway void)release{} // expected-error {{ARC forbids implementation of 'release'}} \
80 - (NSUInteger)retainCount{ return 0; } // expected-error {{ARC forbids implementation of 'retainCou…
193 - (Test8*) init43; // this should be a warning, but that's a general language thing, not an ARC thi…
293 …x = 0; // expected-error {{fast enumeration variables can't be modified in ARC by default; declare…
428 …xpected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into ARC}}
431 …xpected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into ARC}}