Searched defs:nonnull (Results 1 – 14 of 14) sorted by relevance
/external/llvm-project/clang/test/CodeGenObjC/ |
D | ubsan-nonnull.m | 5 -(void) one_arg: (__attribute__((nonnull)) int *) arg1; 7 -(void) varargs: (__attribute__((nonnull)) int *) arg1, ...; 9 +(void) clsmethod: (__attribute__((nonnull)) int *) arg1; 17 -(void) one_arg: (__attribute__((nonnull)) int *) arg1 {} 21 -(void) varargs: (__attribute__((nonnull)) int *) arg1, ... {} 25 +(void) clsmethod: (__attribute__((nonnull)) int *) arg1 {}
|
/external/compiler-rt/test/ubsan/TestCases/Misc/ |
D | nonnull-arg.cpp | 19 C(int *null, __attribute__((nonnull)) int *nonnull) in C() 22 int method(int *nonnull, int *null) __attribute__((nonnull(2))) { in method() 27 __attribute__((nonnull)) int func(int *nonnull) { return *nonnull; } in func() 33 int *nonnull = va_arg(args, int*); in variadic() local
|
/external/llvm-project/compiler-rt/test/ubsan/TestCases/Misc/ |
D | nonnull-arg.cpp | 19 C(int *null, __attribute__((nonnull)) int *nonnull) in C() 22 int method(int *nonnull, int *null) __attribute__((nonnull(2))) { in method() 27 __attribute__((nonnull)) int func(int *nonnull) { return *nonnull; } in func() 33 int *nonnull = va_arg(args, int*); in variadic() local
|
/external/clang/test/SemaObjC/ |
D | nonnull.m | 75 …)doSomethingWithNonNullPointer:(void *)ptr :(int)iarg : (void*)ptr1 __attribute__((nonnull(1, 3))); 76 + (void)doSomethingClassyWithNonNullPointer:(void *)ptr __attribute__((nonnull(1))); 107 …ribute__((nonnull))x; // expected-warning {{'nonnull' attribute only applies to pointer arguments}} 108 - (void) doNotPassNullParameter:(id)__attribute__((nonnull))x; 109 …nnull(1)))x; // expected-warning {{'nonnull' attribute when used on parameters takes no arguments}} 110 - (void) doNotPassNullOnMethod:(id)x __attribute__((nonnull(1)));
|
D | nullability.m | 53 @property(nonnull,retain) NSFoo *property2; category
|
/external/llvm-project/clang/test/SemaObjC/ |
D | nonnull.m | 75 …)doSomethingWithNonNullPointer:(void *)ptr :(int)iarg : (void*)ptr1 __attribute__((nonnull(1, 3))); 76 + (void)doSomethingClassyWithNonNullPointer:(void *)ptr __attribute__((nonnull(1))); 107 …ribute__((nonnull))x; // expected-warning {{'nonnull' attribute only applies to pointer arguments}} 108 - (void) doNotPassNullParameter:(id)__attribute__((nonnull))x; 109 …nnull(1)))x; // expected-warning {{'nonnull' attribute when used on parameters takes no arguments}} 110 - (void) doNotPassNullOnMethod:(id)x __attribute__((nonnull(1)));
|
D | nullability.m | 53 @property(nonnull,retain) NSFoo *property2; category
|
/external/clang/test/SemaCXX/ |
D | nullability.cpp | 79 void *_Nonnull nonnull; in AssignAndInitNonNull() local 94 void *_Nonnull nonnull; in AssignAndInitNonNullFromFn() local
|
/external/llvm-project/clang/test/SemaCXX/ |
D | nullability.cpp | 81 void *_Nonnull nonnull; in AssignAndInitNonNull() local 96 void *_Nonnull nonnull; in AssignAndInitNonNullFromFn() local
|
/external/llvm-project/clang/test/Analysis/ |
D | UserNullabilityAnnotations.m | 11 - (void)method2:(int *)x __attribute__((nonnull));
|
D | nonnull.m | 4 - (void)takePointer:(void *)ptr __attribute__((nonnull(1))); 5 - (void)takePointerArg:(void *)__attribute__((nonnull)) ptr;
|
D | CheckNSError.m | 25 - (BOOL)myMethodWhichMayFail4:(NSError **)error __attribute__((nonnull));
|
/external/clang/test/Analysis/ |
D | nonnull.m | 4 - (void)takePointer:(void *)ptr __attribute__((nonnull(1))); 5 - (void)takePointerArg:(void *)__attribute__((nonnull)) ptr;
|
/external/protobuf/objectivec/Tests/ |
D | unittest_objc.proto | 119 optional bool nonnull = 13; field
|