Home | History | Annotate | Download | only in Preprocessor

Lines Matching full:macro

8 #define one_dot(x, ...) 0 /* expected-warning {{variadic macros are a C99 feature}} expected-note 2{{macro 'one_dot' defined here}} */
11 zero(1); /* expected-error {{too many arguments provided to function-like macro invocation}} */
12 zero(1, 2, 3); /* expected-error {{too many arguments provided to function-like macro invocation}} */
16 one(a,) /* expected-error {{too many arguments provided to function-like macro invocation}} \
17 expected-warning {{empty macro arguments are a C99 feature}}*/
18 one(a, b) /* expected-error {{too many arguments provided to function-like macro invocation}} */
20 two() /* expected-error {{too few arguments provided to function-like macro invocation}} */
21 two(a) /* expected-error {{too few arguments provided to function-like macro invocation}} */
23 two(a, ) /* expected-warning {{empty macro arguments are a C99 feature}} */
24 two(a,b,c) /* expected-error {{too many arguments provided to function-like macro invocation}} */
26 , /* expected-warning {{empty macro arguments are a C99 feature}} */
27 , /* expected-warning {{empty macro arguments are a C99 feature}} \
28 expected-error {{too many arguments provided to function-like macro invocation}} */
29 ) /* expected-warning {{empty macro arguments are a C99 feature}} */
30 two(,) /* expected-warning 2 {{empty macro arguments are a C99 feature}} */
40 one_dot(x) /* empty ... argument: expected-warning {{must specify at least one argument for '...' parameter of variadic macro}} */
41 one_dot() /* empty first argument, elided ...: expected-warning {{must specify at least one argument for '...' parameter of variadic macro}} */
44 /* rdar://6816766 - Crash with function-like macro test at end of directive. */