Lines Matching full:abs
5 int abs(int);
10 int abs(int);
11 float abs(float);
16 (void)abs(d); in test()
17 …// expected-warning@-1{{using integer absolute value function 'abs' when argument is of floating p… in test()
18 // expected-note@-2{{use function 'std::abs' instead}} in test()
19 …// expected-note@-3{{include the header <cmath> or explicitly provide a declaration for 'std::abs'… in test()
20 // CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:9-[[@LINE-4]]:12}:"std::abs" in test()
24 // expected-note@-2{{use function 'std::abs' instead}} in test()
25 …// expected-note@-3{{include the header <cmath> or explicitly provide a declaration for 'std::abs'… in test()
26 // CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:9-[[@LINE-4]]:14}:"std::abs" in test()
29 (void)abs(ll); in test()
30 …// expected-warning@-1{{absolute value function 'abs' given an argument of type 'long long' but ha… in test()
31 // expected-note@-2{{use function 'std::abs' instead}} in test()
32 …expected-note@-3{{include the header <cstdlib> or explicitly provide a declaration for 'std::abs'}} in test()
33 // CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:9-[[@LINE-4]]:12}:"std::abs" in test()
36 // expected-note@-2{{use function 'std::abs' instead}} in test()
37 …expected-note@-3{{include the header <cstdlib> or explicitly provide a declaration for 'std::abs'}} in test()
38 // CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:9-[[@LINE-4]]:14}:"std::abs" in test()
41 (void)abs(i); in test()
47 // expected-note@-2{{use function 'std::abs' instead}} in test()
48 // CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:14}:"std::abs" in test()
49 (void)abs(f); in test()
50 …// expected-warning@-1{{using integer absolute value function 'abs' when argument is of floating p… in test()
51 // expected-note@-2{{use function 'std::abs' instead}} in test()
52 // CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:12}:"std::abs" in test()