5 foo(); // warn: function pointer is null
16 pc
->f(); // warn: object pointer is uninitialized
27 pc
->f(); // warn: object pointer is null
31 @interface MyClass
: NSObject
32 @
property (readwrite
,assign
) id x
;
33 - (long double)longDoubleM
;
38 long double ld1
= [obj1 longDoubleM
];
39 // warn: receiver is uninitialized
43 @interface MyClass
: NSObject
44 @
property (readwrite
,assign
) id x
;
45 - (long double)longDoubleM
;
50 id i
= obj1
.x
; // warn: uninitialized object pointer
54 @interface Subscriptable
: NSObject
55 - (id
)objectAtIndexedSubscript
:(unsigned int)index
;
58 @interface MyClass
: Subscriptable
59 @
property (readwrite
,assign
) id x
;
60 - (long double)longDoubleM
;
65 id i
= obj1
[0]; // warn: uninitialized object pointer