Lines Matching refs:dealloc

5 #include "Inputs/system-header-simulator-for-objc-dealloc.h"
20 // Do not warn about missing release in -dealloc for ivars.
38 - (void)dealloc
41 [super dealloc];
59 - (void)dealloc
62 [super dealloc];
80 // Warn about missing release in -dealloc for properties.
87 - (void)dealloc
90 …er dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass1' was copied by a synthesi…
100 - (void)dealloc
103 …r dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass2' was retained by a synthes…
116 - (void)dealloc
119 …r dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass3' was retained by a synthes…
136 - (void)dealloc
142dealloc]; // expected-warning {{The '_blockPropertyIvar' ivar in 'MyPropertyClass4' was copied by …
155 - (void)dealloc
158 [super dealloc]; // no-warning because it is a weak property
171 - (void)dealloc
175 …ReturnInDealloc' was retained by a synthesized property but not released before '[super dealloc]'}}
176 [super dealloc];
199 - (void)dealloc
203dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClassWithReleaseInOtherInstance' wa…
216 - (void)dealloc
220 // expected-warning@-2 {{method possibly missing a [super dealloc] call}} (From Sema)
221 …NorSuperDealloc' was retained by a synthesized property but not released before '[super dealloc]'}}
236 - (void)dealloc { method
241 [super dealloc];
253 - (void)dealloc; { method
255 // We really should warn because there is a path through -dealloc on which
263dealloc]; // expected-warning {{The '_ivar2' ivar in 'ClassWithControlFlowInRelease' was retained …
268 // Don't warn when the property is nil'd out in -dealloc
276 - (void)dealloc; { method
282 [super dealloc]; // no-warning
287 // Do warn when the ivar but not the property is nil'd out in -dealloc
294 - (void)dealloc; { method
299dealloc]; // expected-warning {{The '_ivar' ivar in 'ClassWithNildOutIvar' was retained by a synth…
312 - (void)dealloc; { method
320dealloc]; // expected-warning {{The '_ivar' ivar in 'ClassWithUpdatedIvar' was retained by a synth…
326 // Don't warn when the property is nil'd out with a setter in -dealloc
333 - (void)dealloc; { method
337 [super dealloc]; // no-warning
343 // Don't warn about missing releases when -dealloc helpers are called.
374 - (void)dealloc; { method
380dealloc]; // expected-warning {{The '_ivarNeverReleased' ivar in 'ClassWithDeallocHelpers' was ret…
386 // Don't warn when self in -dealloc escapes.
397 - (void)dealloc; { method
400 [super dealloc];
416 - (void)dealloc; { method
419 [super dealloc];
433 - (void)dealloc; { method
436dealloc]; // expected-warning {{The '_ivar' ivar in 'ClassWhereSelfEscapesViaSynthesizedPropertyA…
454 - (void)dealloc; { method
480dealloc]; // expected-warning {{The '_ivar1' ivar in 'ClassWhereSelfEscapesViaCallToSystem' was r…
494 - (void)dealloc; { method
499 [super dealloc];
511 - (void)dealloc; { method
517 [super dealloc];
530 - (void)dealloc; { method
532 [super dealloc];
543 - (void)dealloc { method
545dealloc]; // expected-warning {{The '_propInSuper' ivar in 'SuperClassOfClassWithInlinedSuperDeall…
555 - (void)dealloc { method
557dealloc]; // expected-warning {{The '_propInSub' ivar in 'ClassWithInlinedSuperDealloc' was retain…
578 - (void)dealloc { method
581 [super dealloc]; // no-warning
599 - (void)dealloc { method
601 [super dealloc]; // no-warning
613 - (void)dealloc { method
616dealloc]; // expected-warning {{The '_propInSuper' ivar in 'SuperClassOfClassThatEscapesBeforeInli…
630 - (void)dealloc { method
634 [super dealloc]; // no-warning
655 - (void)dealloc { method
663 [super dealloc];
676 - (void)dealloc { method
682 [super dealloc];
694 - (void)dealloc { method
698 [super dealloc];
720 -(void)dealloc; { method
722 [super dealloc]; // no-warning
741 -(void)dealloc; { method
743 [super dealloc]; // no-warning
754 -(void)dealloc; { method
759 // Warn about calling -dealloc rather than release by mistake.
769 - (void)dealloc
773 [okToDeallocDirectly dealloc]; // no-warning
774 [_ivar dealloc]; // expected-warning {{'_ivar' should be released rather than deallocated}}
776 [super dealloc];
782 // By design, -[CIFilter dealloc] releases (by calling -setValue: forKey: with
810 - (void)dealloc { method
817 [super dealloc];
818 …iateSubCIFilter' was retained by a synthesized property but not released before '[super dealloc]'}}
833 - (void)dealloc { method
836 [super dealloc];
850 - (void)dealloc { method
852 // This is an over release because CIFilter's dealloc will also release it.
853 …putIvar' ivar in 'OverreleasingCIFilter' will be released by '-[CIFilter dealloc]' but also releas…
854 [super dealloc]; // no-warning
886 - (void)dealloc { method
889 [super dealloc];
891 …IvarButNoSetter' was retained by a synthesized property but not released before '[super dealloc]'}}
917 - (void)dealloc { method
920 [super dealloc];
921 …dowingReadWrite' was retained by a synthesized property but not released before '[super dealloc]'}}