Lines Matching refs:TestObject
92 @interface TestObject : NSObject interface
95 TestObject *_Nonnull getNonnullTestObject();
98 TestObject * _Nonnull implicitlyZeroInitialized; // no-warning
103 …TestObject * _Nonnull explicitlyZeroInitialized = nil; // expected-warning {{Null is assigned to a…
109 TestObject * _Nonnull returnsNilObjCInstanceIndirectly() {
110 TestObject *local = 0;
114 TestObject * _Nonnull returnsNilObjCInstanceIndirectlyWithSupressingCast() {
115 TestObject *local = 0;
116 return (TestObject * _Nonnull)local; // no-warning
119 TestObject * _Nonnull returnsNilObjCInstanceDirectly() {
123 TestObject * _Nonnull returnsNilObjCInstanceDirectlyWithSuppressingCast() {
124 return (TestObject * _Nonnull)nil; // no-warning