Lines Matching defs:ap
6 __builtin_va_list ap;
8 __builtin_va_start(ap, a, a); // expected-error {{too many arguments to function}}
9 __builtin_va_start(ap, a); // expected-error {{'va_start' used in function with fixed args}}
14 __builtin_va_list ap;
16 __builtin_va_start(ap, 10); // expected-warning {{second parameter of 'va_start' not last named argument}}
17 __builtin_va_start(ap, a); // expected-warning {{second parameter of 'va_start' not last named argument}}
18 __builtin_va_start(ap, b);
23 __builtin_va_list ap;
25 __builtin_va_start(ap, a);
26 __builtin_va_start(ap, (a));
32 __builtin_va_list ap;
33 __builtin_stdarg_start((ap), (msg));
34 __builtin_va_end (ap);
38 __builtin_va_list ap;
39 __builtin_va_start(ap,ap); // expected-error {{'va_start' used in function with fixed args}}
43 __builtin_va_list ap;
44 __builtin_va_start(ap); // expected-error {{too few arguments to function}}
56 __builtin_va_list ap;
57 __builtin_va_start(ap, a);
59 __builtin_va_arg(ap, int) = 1; // expected-error {{expression is not assignable}}
60 int *x = &__builtin_va_arg(ap, int); // expected-error {{cannot take the address of an rvalue}}
61 __builtin_va_end(ap);
65 __builtin_va_list ap;
66 __builtin_va_start(ap, a);
67 (void)__builtin_va_arg(ap, void); // expected-error {{second argument to 'va_arg' is of incomplete type 'void'}}
68 __builtin_va_end(ap);
82 __builtin_va_list ap;
83 i = __builtin_va_start(ap, a); // expected-error {{assigning to 'int' from incompatible type 'void'}}
84 __builtin_va_end(ap);