• Home
  • Raw
  • Download

Lines Matching refs:super

22 //  Check that 'self' is not referenced after calling '[super dealloc]'.
31 self = [super init];
38 [super dealloc]; // expected-note {{[super dealloc] called here}}
51 self = [super init];
58 [super dealloc]; // expected-note {{[super dealloc] called here}}
76 [super dealloc]; // expected-note {{[super dealloc] called here}}
95 [super dealloc]; // expected-note {{[super dealloc] called here}}
108 [super dealloc]; // expected-note {{[super dealloc] called here}}
120 self = [super init];
127 [super dealloc]; // expected-note {{[super dealloc] called here}}
139 self = [super init];
146 [super dealloc]; // expected-note {{[super dealloc] called here}}
160 [super dealloc]; // expected-note {{[super dealloc] called here}}
175 [super dealloc]; // expected-note {{[super dealloc] called here}}
189 [super dealloc]; // expected-note {{[super dealloc] called here}}
207 [super dealloc];
210 [super dealloc]; // expected-note {{[super dealloc] called here}}
217 // Warn about calling [super dealloc] twice due to missing return statement.
228 [super dealloc]; // expected-note {{[super dealloc] called here}}
231 [super dealloc]; // expected-warning{{[super dealloc] should not be called multiple times}}
232 // expected-note@-1{{[super dealloc] should not be called multiple times}}
237 // Warn about calling [super dealloc] twice in two different methods.
248 [super dealloc]; // expected-note {{[super dealloc] called here}}
253 [super dealloc]; // expected-warning {{[super dealloc] should not be called multiple times}}
254 // expected-note@-1 {{[super dealloc] should not be called multiple times}}
259 // Do not warn about calling [super dealloc] recursively for different objects
264 // a false positive that [super dealloc] is called twice if each object instance
287 [super dealloc]; // no warning: different instances of same class
292 // Do not warn about calling [super dealloc] twice if +dealloc is a class
309 [super dealloc];
310 [super dealloc]; // no warning: class method
315 // Do not warn about calling [super dealloc] twice if when the analyzer has
316 // inlined the call to its super deallocator.
327 [super dealloc];
336 [super dealloc];
341 // Treat calling [super dealloc] twice as as a sink.
348 [super dealloc]; // expected-note {{[super dealloc] called here}}
349 [super dealloc]; // expected-warning {{[super dealloc] should not be called multiple times}}
350 // expected-note@-1 {{[super dealloc] should not be called multiple times}}
368 [super dealloc]; // expected-note {{[super dealloc] called here}}
371 [super dealloc];