Lines Matching refs:_Nonnull
11 void takesNonnull(Dummy *_Nonnull);
25 Dummy *_Nonnull testNullReturn() {
40 Dummy *_Nonnull doNotWarnWhenPreconditionIsViolatedInTopFunc(
41 Dummy *_Nonnull p) {
54 Dummy *_Nonnull doNotWarnWhenPreconditionIsViolated(Dummy *_Nonnull p) {
74 void inlinedNonnull(Dummy *_Nonnull p) {
81 Dummy *_Nonnull testDefensiveInlineChecks(Dummy * p) {
95 TestObject *_Nonnull getNonnullTestObject();
98 TestObject * _Nonnull implicitlyZeroInitialized; // no-warning
103 …TestObject * _Nonnull explicitlyZeroInitialized = nil; // expected-warning {{nil assigned to a poi…
107 // cast to _Nonnull when the functions return type is _Nonnull, so make
109 TestObject * _Nonnull returnsNilObjCInstanceIndirectly() {
114 TestObject * _Nonnull returnsNilObjCInstanceIndirectlyWithSupressingCast() {
116 return (TestObject * _Nonnull)local; // no-warning
119 TestObject * _Nonnull returnsNilObjCInstanceDirectly() {
123 TestObject * _Nonnull returnsNilObjCInstanceDirectlyWithSuppressingCast() {
124 return (TestObject * _Nonnull)nil; // no-warning
131 - (SomeClass * _Nonnull)testReturnsNilInNonnull {
136 - (SomeClass * _Nonnull)testReturnsCastSuppressedNilInNonnull {
138 return (SomeClass * _Nonnull)local; // no-warning
141 - (SomeClass * _Nonnull)testReturnsNilInNonnullWhenPreconditionViolated:(SomeClass * _Nonnull) p { argument