Lines Matching full:autorelease
124 - (id)autorelease;
475 [(id) A autorelease]; // no-warning
480 [(id) A autorelease];
481 [(id) A autorelease];
486 [(id) A autorelease];
487 [(id) A autorelease];
493 [(id) A autorelease];
494 [(id) A autorelease];
808 return [self autorelease]; // expected-warning{{Object with a +0 retain count returned to caller where a +1 (owning) retain count is expected}}
858 // PR 4230 - an autorelease pool is not necessarily leaked during a premature
865 NSString *object = [[[NSString alloc] init] autorelease]; // no-warning
872 NSString *object = [[[NSString alloc] init] autorelease]; // no-warning
1297 [RDar7252064 autorelease]; // expected-warning{{The 'autorelease' message should be sent to instances of class 'RDar7252064' and not the class directly}}
1409 return (CFDateRef)[(id)[self returnsCFRetainedAsCF] autorelease];
1413 return (CFDateRef)[(id)[self returnsCFRetainedAsCF] autorelease]; // expected-warning{{Object with a +0 retain count returned to caller where a +1 (owning) retain count is expected}}
1535 [outValue autorelease];
1789 id x = [[[NSString alloc] initWithUTF8String:"foo"] autorelease];
1902 return [objCObject autorelease]; // +0
18363 // CHECK-NEXT: <string>The 'autorelease' message should be sent to instances of class 'RDar7252064' and not the class directly</string>
18365 // CHECK-NEXT: <string>The 'autorelease' message should be sent to instances of class 'RDar7252064' and not the class directly</string>
18368 // CHECK-NEXT: <key>description</key><string>The 'autorelease' message should be sent to instances of class 'RDar7252064' and not the class directly</string>