Lines Matching full:parameter
6 void ip(int *aPtr) {} // expected-note{{passing argument to parameter 'aPtr' here}}
7 void i(int a) {} // expected-note{{passing argument to parameter 'a' here}}
8 void ii(int a) {} // expected-note{{passing argument to parameter 'a' here}}
9 void fp(float *aPtr) {} // expected-note{{passing argument to parameter 'aPtr' here}}
10 void f(float a) {} // expected-note{{passing argument to parameter 'a' here}}
14 ip(a); // expected-warning{{incompatible integer to pointer conversion passing 'int' to parameter of type 'int *'; take the address with &}}
15 i(aPtr); // expected-warning{{incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with *}}
16 ii(&a); // expected-warning{{incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; remove &}}
17 fp(*bPtr); // expected-error{{passing 'float' to parameter of incompatible type 'float *'; remove *}}
18 f(bPtr); // expected-error{{passing 'float *' to parameter of incompatible type 'float'; dereference with *}}