Home | History | Annotate | Download | only in Sema

Lines Matching defs:ap

10   __builtin_ms_va_list ap;
11 __builtin_ms_va_start(ap, a); // expected-error {{'__builtin_ms_va_start' used in System V ABI function}}
15 __builtin_ms_va_list ap;
17 __builtin_ms_va_start(ap, a, a); // expected-error {{too many arguments to function}}
18 __builtin_ms_va_start(ap, a); // expected-error {{'va_start' used in function with fixed args}}
22 __builtin_ms_va_list ap;
24 __builtin_ms_va_start(ap, 10); // expected-warning {{second parameter of 'va_start' not last named argument}}
25 __builtin_ms_va_start(ap, a); // expected-warning {{second parameter of 'va_start' not last named argument}}
26 __builtin_ms_va_start(ap, b);
30 __builtin_ms_va_list ap;
32 __builtin_ms_va_start(ap, a);
33 __builtin_ms_va_start(ap, (a));
37 __builtin_ms_va_list ap;
38 __builtin_ms_va_start(ap, ap); // expected-error {{'va_start' used in function with fixed args}}
42 __builtin_ms_va_list ap;
43 __builtin_ms_va_start(ap); // expected-error {{too few arguments to function}}
54 __builtin_ms_va_list ap;
55 __builtin_ms_va_start(ap, a);
57 __builtin_va_arg(ap, int) = 1; // expected-error {{expression is not assignable}}
58 int *x = &__builtin_va_arg(ap, int); // expected-error {{cannot take the address of an rvalue}}
59 __builtin_ms_va_end(ap);
63 __builtin_ms_va_list ap;
64 __builtin_ms_va_start(ap, a);
65 (void)__builtin_va_arg(ap, void); // expected-error {{second argument to 'va_arg' is of incomplete type 'void'}}
66 __builtin_ms_va_end(ap);
78 __builtin_va_list ap;
79 __builtin_va_start(ap, a); // expected-error {{'va_start' used in Win64 ABI function}}