Lines Matching refs:nonnull

4 - (void)takePointer:(void *)ptr __attribute__((nonnull(1)));  argument
5 - (void)takePointerArg:(void *)__attribute__((nonnull)) ptr; argument
12 [obj takePointer:p]; // expected-warning{{nonnull}}
17 // [[nonnull]] is an inherited attribute.
24 [obj takePointer:p]; // expected-warning{{nonnull}}
30 [obj takePointerArg:p]; // expected-warning{{nonnull}}
73 extern void rdar16153464_check(union rdar16153464_pub_ctx_t outer) __attribute((nonnull(1)));
76 rdar16153464_check(0); // expected-warning{{nonnull}}
80 void multipleAttributes_1(char *p, char *q) __attribute((nonnull(1))) __attribute((nonnull(2)));
89 multipleAttributes_1(0, &c); // expected-warning{{nonnull}}
94 multipleAttributes_1(&c, 0); // expected-warning{{nonnull}}
98 multipleAttributes_1(0, 0);// expected-warning{{nonnull}}
102 void multipleAttributes_2(char *p, char *q) __attribute((nonnull(1)));
103 void multipleAttributes_2(char *p, char *q) __attribute((nonnull(2)));
107 multipleAttributes_2(0, &c);// expected-warning{{nonnull}}
112 multipleAttributes_2(&c, 0);// expected-warning{{nonnull}}
116 multipleAttributes_2(0, 0);// expected-warning{{nonnull}}
120 void multipleAttributes_3(char *p, char *q) __attribute((nonnull(1))) __attribute((nonnull(1)));
124 multipleAttributes_3(0, &c); // expected-warning{{nonnull}}
133 void multipleAttributes_4(char *p, char *q, char *r) __attribute((nonnull(1))) __attribute((nonnull
137 multipleAttributes_4(0, &c, &c); // expected-warning{{nonnull}}
147 multipleAttributes_4(&c, &c, 0); // expected-warning{{nonnull}}
152 void multipleAttributes_all_1(char *p, char *q) __attribute((nonnull(1))) __attribute((nonnull));
156 multipleAttributes_all_1(0, &c); // expected-warning{{nonnull}}
161 multipleAttributes_all_1(&c, 0); // expected-warning{{nonnull}}
165 void multipleAttributes_all_2(char *p, char *q) __attribute((nonnull)) __attribute((nonnull(2)));
169 multipleAttributes_all_2(0, &c); // expected-warning{{nonnull}}
174 multipleAttributes_all_2(&c, 0); // expected-warning{{nonnull}}
178 extern void testVararg_check(int, ...) __attribute__((nonnull));
183 testVararg_check(1, n); // expected-warning{{nonnull}}
186 testVararg_check(2, n, p); // expected-warning{{nonnull}}
188 testVararg_check(2, p, n); // expected-warning{{nonnull}}
193 extern void testNotPtr_check(struct S, int) __attribute__((nonnull(1, 2)));