Home | History | Annotate | Download | only in Sema

Lines Matching refs:abs

4 int abs(int);
17 (void)abs(x);
23 // expected-note@-2 {{use function 'abs' instead}}
24 // CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:14}:"abs"
27 // expected-note@-2 {{use function 'abs' instead}}
28 // CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:13}:"abs"
31 // expected-note@-2 {{use function 'abs' instead}}
32 // CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:14}:"abs"
36 // expected-note@-2 {{use function 'abs' instead}}
37 // CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:14}:"abs"
40 // expected-note@-2 {{use function 'abs' instead}}
41 // CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:13}:"abs"
44 // expected-note@-2 {{use function 'abs' instead}}
45 // CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:14}:"abs"
79 (void)abs(x); // no warning - int and long are same length for this target
142 (void)abs(x);
143 // expected-warning@-1{{absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value}}
216 (void)abs(x);
217 // expected-warning@-1 {{using integer absolute value function 'abs' when argument is of floating point type}}
278 (void)abs(x);
279 // expected-warning@-1 {{using integer absolute value function 'abs' when argument is of floating point type}}
346 (void)abs(x);
347 // expected-warning@-1 {{using integer absolute value function 'abs' when argument is of floating point type}}
420 (void)abs(x);
421 // expected-warning@-1 {{using integer absolute value function 'abs' when argument is of complex type}}
482 (void)abs(x);
483 // expected-warning@-1 {{using integer absolute value function 'abs' when argument is of complex type}}
550 (void)abs(x);
551 // expected-warning@-1 {{using integer absolute value function 'abs' when argument is of complex type}}
624 (void)abs(x);
626 // expected-note@-2 {{remove the call to 'abs' since unsigned values cannot be negative}}
704 (void)abs(x);
706 // expected-note@-2 {{remove the call to 'abs' since unsigned values cannot be negative}}