Lines Matching full:nonnull
1 #include "nonnull.h"
10 int f2(int *x) __attribute__ ((nonnull (1)));
11 int f3(int *x) __attribute__ ((nonnull (0))); // expected-error {{'nonnull' attribute parameter 1 is out of bounds}}
12 int f4(int *x, int *y) __attribute__ ((nonnull (1,2)));
13 int f5(int *x, int *y) __attribute__ ((nonnull (2,1)));
14 int f6(NSObject *x) __attribute__ ((nonnull (1))); // no-warning
15 int f7(NSObject *x) __attribute__ ((nonnull)); // no-warning
18 extern void func1 (void (^block1)(), void (^block2)(), int) __attribute__((nonnull));
21 __attribute__((nonnull(1,3)));
23 extern void func4 (void (^block1)(), void (^block2)()) __attribute__((nonnull(1)))
24 __attribute__((nonnull(2)));
63 __attribute__((nonnull))
75 - (void)doSomethingWithNonNullPointer:(void *)ptr :(int)iarg : (void*)ptr1 __attribute__((nonnull(1, 3)));
76 + (void)doSomethingClassyWithNonNullPointer:(void *)ptr __attribute__((nonnull(1)));
79 extern void DoSomethingNotNull(void *db) __attribute__((nonnull(1)));