Home
last modified time | relevance | path

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

12345678910>>...24

/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/obj-c++.dg/attributes/
H A Dmethod-nonnull-1.mm12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m13 + (void) addObject: (id)object __attribute__ ((nonnull));
14 - (void) addObject: (id)object __attribute__ ((nonnull));
16 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
17 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
19 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
23 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
24 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
26 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
27 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
29 …ze_t)object __attribute__ ((nonnull (1))); /* { dg-warning "refers to parameter type .size_t." } */
[all …]
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m13 + (void) addObject: (id)object __attribute__ ((nonnull));
14 - (void) addObject: (id)object __attribute__ ((nonnull));
16 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
17 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
19 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
23 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
24 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
26 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
27 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
29 …ze_t)object __attribute__ ((nonnull (1))); /* { dg-warning "refers to parameter type .size_t." } */
[all …]
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/obj-c++.dg/attributes/
H A Dmethod-nonnull-1.mm12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/objc.dg/attributes/
H A Dmethod-noreturn-1.m13 + (id) method3 __attribute__ ((noreturn));
14 - (id) method4 __attribute__ ((noreturn));
20 return self; /* { dg-warning "function declared .noreturn. has a .return. statement" } */
21 } /* { dg-warning ".noreturn. function does return" "" { target *-*-* } .-1 } */
25 } /* { dg-warning ".noreturn. function does return" "" { target *-*-* } .-1 } */
30 - (id) method4
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/obj-c++.dg/attributes/
H A Dmethod-nonnull-1.mm12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/obj-c++.dg/attributes/
H A Dmethod-nonnull-1.mm12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
23 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
25 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
26 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
28 …ze_t)object __attribute__ ((nonnull (1))); /* { dg-warning "refers to parameter type .size_t." } */
[all …]
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/obj-c++.dg/attributes/
H A Dmethod-nonnull-1.mm12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
23 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
25 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
26 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
28 …ze_t)object __attribute__ ((nonnull (1))); /* { dg-warning "refers to parameter type .size_t." } */
[all …]
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/obj-c++.dg/attributes/
H A Dmethod-nonnull-1.mm12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/obj-c++.dg/attributes/
H A Dmethod-nonnull-1.mm12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
23 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
25 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
26 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
28 …ze_t)object __attribute__ ((nonnull (1))); /* { dg-warning "refers to parameter type .size_t." } */
[all …]
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/obj-c++.dg/attributes/
H A Dmethod-nonnull-1.mm12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m13 + (void) addObject: (id)object __attribute__ ((nonnull));
14 - (void) addObject: (id)object __attribute__ ((nonnull));
16 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
17 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
19 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
23 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
24 …object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to a function parameter" } */
26 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
27 …t __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the number of function parameters 3" } */
29 …ze_t)object __attribute__ ((nonnull (1))); /* { dg-warning "refers to parameter type .size_t." } */
[all …]
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/obj-c++.dg/attributes/
H A Dmethod-nonnull-1.mm12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/objc.dg/attributes/
H A Dmethod-nonnull-1.m12 + (void) addObject: (id)object __attribute__ ((nonnull));
13 - (void) addObject: (id)object __attribute__ ((nonnull));
15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1)));
18 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
26 - (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-error "out-of-range" } */
28 …jectAtIndex: (size_t)object __attribute__ ((nonnull (1))); /* { dg-error "non-pointer operand" } */
[all …]

12345678910>>...24