• Home
  • Raw
  • Download

Lines Matching refs:ARC

34 - (id)retain { return self; } // expected-error {{ARC forbids implementation}}
35 - (id)retainCount { return self; } // expected-error {{ARC forbids implementation}}
36 - (id)autorelease { return self; } // expected-error {{ARC forbids implementation}}
37 - (oneway void)release { } // expected-error {{ARC forbids implementation}}
46 // expected-error {{ARC forbids explicit message send}}
48 // expected-error {{ARC forbids explicit message send}}
50 // expected-error {{ARC forbids explicit message send}}
53 // expected-error {{ARC forbids explicit message send}}
55 // expected-error {{ARC forbids explicit message send}}
58 [a retainCount]; // expected-error {{ARC forbids explicit message send of 'retainCount'}}
61 // expected-error {{ARC forbids explicit message send}}
66 …e_transfer to transfer ownership of a +1 'CFStringRef' (aka 'const struct __CFString *') into ARC}}
72 SEL s = @selector(retain); // expected-error {{ARC forbids use of 'retain' in a @selector}}
73 s = @selector(release); // expected-error {{ARC forbids use of 'release' in a @selector}}
74 s = @selector(autorelease); // expected-error {{ARC forbids use of 'autorelease' in a @selector}}
75 s = @selector(dealloc); // expected-error {{ARC forbids use of 'dealloc' in a @selector}}
81 A* a; // expected-error {{ARC forbids Objective-C objects in structs or unions}}
189 - (Test8*) init43; // this should be a warning, but that's a general language thing, not an ARC thi…
269 RELEASE_MACRO(p); // expected-error {{ARC forbids explicit message send of 'release'}}