Lines Matching refs:ap

4 __builtin_va_list ap;  variable
8 …__builtin_va_start(ap, s); // expected-warning {{passing an object of reference type to 'va_start'… in f()
12 __builtin_va_start(ap, i); // UB in C, OK in C++ in g()
18 …__builtin_va_start(ap, a); // expected-warning {{second argument to 'va_start' is not the last nam… in no_params()
27 void meth(int a, int b = (__builtin_va_start(ap, a), 0)) {} in record_context()
34 (void)__builtin_va_arg(ap, Unscoped1); // ok in promotable()
37 (void)__builtin_va_arg(ap, Unscoped2); // ok in promotable()
40 (void)__builtin_va_arg(ap, Scoped); // ok in promotable()
43 (void)__builtin_va_arg(ap, Fixed); // ok in promotable()
46 …(void)__builtin_va_arg(ap, FixedSmall); // expected-warning {{second argument to 'va_arg' is of pr… in promotable()
49 (void)__builtin_va_arg(ap, FixedLarge); // ok in promotable()
52 (void)__builtin_va_arg(ap, const volatile int); // ok in promotable()
55 (void)__builtin_va_arg(ap, unsigned int); in promotable()
57 …(void)__builtin_va_arg(ap, bool); // expected-warning {{second argument to 'va_arg' is of promotab… in promotable()
66 __builtin_va_start(ap, b); // expected-error {{'va_start' used in function with fixed args}} in fixed_lambda_varargs_function()
71 __builtin_va_start(ap, b); // correct in varargs_lambda_fixed_function()
76 __builtin_va_start(ap, f); // expected-error {{'va_start' used in function with fixed args}} in __anone3303e310302()
79 __builtin_va_start(ap, f); // correct in __anone3303e310402()
86 int b = (__builtin_va_start(ap, a), 0); in record_member_init()