Lines Matching full:nsautoreleasepool
51 @interface NSAutoreleasePool : NSObject { // expected-note 13 {{marked unavailable here}}
71 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
72 NSAutoreleasePool *chunkPool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}}
77 chunkPool = [[NSAutoreleasePool alloc] init]; // expected-error {{'NSAutoreleasePool' is unavailable}}
87 NSAutoreleasePool * pool; // expected-error {{'NSAutoreleasePool' is unavailable}}
90 id x = pool; // We won't touch a NSAutoreleasePool if we can't safely
94 pool = [[NSAutoreleasePool alloc] init]; // expected-error {{'NSAutoreleasePool' is unavailable}}
100 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
109 ++x; // expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
113 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
120 struct S *var; // expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
125 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
132 int x = Bar; // expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
136 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
143 Bar x; // expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}