Lines Matching refs:object
3 // This actually still works after the pseudo-object refactor, it just
45 …// expected-warning{{leak}} expected-note{{Method returns an Objective-C object with a +1 retain c…
46 …return; // expected-note{{Object leaked: object allocated and stored into 'leaked' is not referenc…
50 …ted-note{{Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain c…
51 …return; // expected-note{{Object leaked: object allocated and stored into 'leaked' is not referenc…
55 …// expected-warning{{leak}} expected-note{{Method returns an Objective-C object with a +0 retain c…
56 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +1 retain cou…
57 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +2 retain cou…
58 …[leaked release]; // expected-note{{Reference count decremented. The object now has a +1 retain co…
59 …return; // expected-note{{Object leaked: object allocated and stored into 'leaked' is not referenc…
63 … expected-warning{{leak}} expected-note{{Property returns an Objective-C object with a +0 retain c…
64 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +1 retain cou…
65 …return; // expected-note{{Object leaked: object allocated and stored into 'leaked' is not referenc…
69 …pected-note{{Call to function 'CFGetSomething' returns a Core Foundation object with a +0 retain c…
70 …CFRetain(leaked); // expected-note{{Reference count incremented. The object now has a +1 retain co…
71 …return; // expected-note{{Object leaked: object allocated and stored into 'leaked' is not referenc…
75 …id object = [[NSObject alloc] init]; // expected-note{{Method returns an Objective-C object with a…
76 [object dealloc]; // expected-note{{Object released by directly sending the '-dealloc' message}}
77 …[object class]; // expected-warning{{Reference-counted object is used after it is released}} // ex…
81 …id object = [[NSObject alloc] init]; // expected-note{{Method returns an Objective-C object with a…
82 [object release]; // expected-note{{Object released}}
83 …[object class]; // expected-warning{{Reference-counted object is used after it is released}} // ex…
87 …id object = [[NSObject alloc] init]; // expected-note{{Method returns an Objective-C object with a…
88 [object autorelease]; // expected-note{{Object sent -autorelease message}}
89 [object autorelease]; // expected-note{{Object sent -autorelease message}}
90 …y times}} expected-note{{Object over-autoreleased: object was sent -autorelease 2 times but the ob…
94 …id object = foo.propertyValue; // expected-note{{Property returns an Objective-C object with a +0 …
95 [object autorelease]; // expected-note{{Object sent -autorelease message}}
96 … many times}} expected-note{{Object over-autoreleased: object was sent -autorelease but the object…
100 …ted-note{{Call to function 'CFCreateSomething' returns a Core Foundation object with a +1 retain c…
103 …return; // expected-note{{Object leaked: object allocated and stored into 'leaked' is not referenc…
107 …CFTypeRef object = CFGetSomething(); // expected-note{{Call to function 'CFGetSomething' returns a…
108 …return object; // expected-warning{{Object with a +0 retain count returned to caller where a +1 (o…
112 …eRef object = CFCreateSomething(); // expected-warning{{leak}} expected-note{{Call to function 'CF…
113 …object; // expected-note{{Object returned to caller as an owning reference (single retain count tr…
118 …id result = self.propertyValue; // expected-note{{Property returns an Objective-C object with a +0…
123 …// expected-warning{{leak}} expected-note{{Method returns an Objective-C object with a +1 retain c…
124 …ngle retain count transferred to caller)}} expected-note{{Object leaked: object allocated and stor…
128 …id result = [[Foo alloc] init]; // expected-note{{Method returns an Objective-C object with a +1 r…