Home
last modified time | relevance | path

Searched defs:nonnull (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/clang/test/CodeGenObjC/
Dubsan-nonnull.m5 -(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/
Dnonnull-arg.cpp19 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/
Dnonnull-arg.cpp19 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/
Dnonnull.m75 …)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)));
Dnullability.m53 @property(nonnull,retain) NSFoo *property2; category
/external/llvm-project/clang/test/SemaObjC/
Dnonnull.m75 …)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)));
Dnullability.m53 @property(nonnull,retain) NSFoo *property2; category
/external/clang/test/SemaCXX/
Dnullability.cpp79 void *_Nonnull nonnull; in AssignAndInitNonNull() local
94 void *_Nonnull nonnull; in AssignAndInitNonNullFromFn() local
/external/llvm-project/clang/test/SemaCXX/
Dnullability.cpp81 void *_Nonnull nonnull; in AssignAndInitNonNull() local
96 void *_Nonnull nonnull; in AssignAndInitNonNullFromFn() local
/external/llvm-project/clang/test/Analysis/
DUserNullabilityAnnotations.m11 - (void)method2:(int *)x __attribute__((nonnull));
Dnonnull.m4 - (void)takePointer:(void *)ptr __attribute__((nonnull(1)));
5 - (void)takePointerArg:(void *)__attribute__((nonnull)) ptr;
DCheckNSError.m25 - (BOOL)myMethodWhichMayFail4:(NSError **)error __attribute__((nonnull));
/external/clang/test/Analysis/
Dnonnull.m4 - (void)takePointer:(void *)ptr __attribute__((nonnull(1)));
5 - (void)takePointerArg:(void *)__attribute__((nonnull)) ptr;
/external/protobuf/objectivec/Tests/
Dunittest_objc.proto119 optional bool nonnull = 13; field