Lines Matching refs:b
6 int test0(long a, unsigned long b) { in test0() argument
12 … (a == (unsigned long) b) + // expected-warning {{comparison of integers of different signs}} in test0()
13 (a == (unsigned int) b) + in test0()
14 (a == (unsigned short) b) + in test0()
15 (a == (unsigned char) b) + in test0()
16 ((long) a == b) + // expected-warning {{comparison of integers of different signs}} in test0()
17 ((int) a == b) + // expected-warning {{comparison of integers of different signs}} in test0()
18 ((short) a == b) + // expected-warning {{comparison of integers of different signs}} in test0()
19 ((signed char) a == b) + // expected-warning {{comparison of integers of different signs}} in test0()
20 …((long) a == (unsigned long) b) + // expected-warning {{comparison of integers of different signs… in test0()
21 … ((int) a == (unsigned int) b) + // expected-warning {{comparison of integers of different signs}} in test0()
22 ((short) a == (unsigned short) b) + in test0()
23 ((signed char) a == (unsigned char) b) + in test0()
24 … (a < (unsigned long) b) + // expected-warning {{comparison of integers of different signs}} in test0()
25 (a < (unsigned int) b) + in test0()
26 (a < (unsigned short) b) + in test0()
27 (a < (unsigned char) b) + in test0()
28 ((long) a < b) + // expected-warning {{comparison of integers of different signs}} in test0()
29 ((int) a < b) + // expected-warning {{comparison of integers of different signs}} in test0()
30 ((short) a < b) + // expected-warning {{comparison of integers of different signs}} in test0()
31 ((signed char) a < b) + // expected-warning {{comparison of integers of different signs}} in test0()
32 …((long) a < (unsigned long) b) + // expected-warning {{comparison of integers of different signs}} in test0()
33 … ((int) a < (unsigned int) b) + // expected-warning {{comparison of integers of different signs}} in test0()
34 ((short) a < (unsigned short) b) + in test0()
35 ((signed char) a < (unsigned char) b) + in test0()
38 (A == (unsigned long) b) + in test0()
39 (A == (unsigned int) b) + in test0()
40 (A == (unsigned short) b) + in test0()
41 (A == (unsigned char) b) + in test0()
42 ((long) A == b) + in test0()
43 ((int) A == b) + in test0()
44 ((short) A == b) + in test0()
45 ((signed char) A == b) + in test0()
46 ((long) A == (unsigned long) b) + in test0()
47 ((int) A == (unsigned int) b) + in test0()
48 ((short) A == (unsigned short) b) + in test0()
49 ((signed char) A == (unsigned char) b) + in test0()
50 (A < (unsigned long) b) + in test0()
51 (A < (unsigned int) b) + in test0()
52 (A < (unsigned short) b) + in test0()
53 (A < (unsigned char) b) + in test0()
54 ((long) A < b) + in test0()
55 ((int) A < b) + in test0()
56 ((short) A < b) + in test0()
57 ((signed char) A < b) + in test0()
58 ((long) A < (unsigned long) b) + in test0()
59 ((int) A < (unsigned int) b) + in test0()
60 ((short) A < (unsigned short) b) + in test0()
61 ((signed char) A < (unsigned char) b) + in test0()
90 (C == (unsigned long) b) + in test0()
91 (C == (unsigned int) b) + in test0()
92 …(C == (unsigned short) b) + // expected-warning {{comparison of constant 'C' (65536) with expressi… in test0()
93 …(C == (unsigned char) b) + // expected-warning {{comparison of constant 'C' (65536) with expressi… in test0()
94 ((long) C == b) + in test0()
95 ((int) C == b) + in test0()
96 ((short) C == b) + in test0()
97 ((signed char) C == b) + in test0()
98 ((long) C == (unsigned long) b) + in test0()
99 ((int) C == (unsigned int) b) + in test0()
100 ((short) C == (unsigned short) b) + in test0()
101 ((signed char) C == (unsigned char) b) + in test0()
102 (C < (unsigned long) b) + in test0()
103 (C < (unsigned int) b) + in test0()
104 …(C < (unsigned short) b) + // expected-warning {{comparison of constant 'C' (65536) with expressio… in test0()
105 …(C < (unsigned char) b) + // expected-warning {{comparison of constant 'C' (65536) with expression… in test0()
106 ((long) C < b) + in test0()
107 ((int) C < b) + in test0()
108 ((short) C < b) + in test0()
109 ((signed char) C < b) + in test0()
110 ((long) C < (unsigned long) b) + in test0()
111 ((int) C < (unsigned int) b) + in test0()
112 ((short) C < (unsigned short) b) + in test0()
113 ((signed char) C < (unsigned char) b) + in test0()
142 (0x80000 == (unsigned long) b) + in test0()
143 (0x80000 == (unsigned int) b) + in test0()
144 …(0x80000 == (unsigned short) b) + // expected-warning {{comparison of constant 524288 with express… in test0()
145 …(0x80000 == (unsigned char) b) + // expected-warning {{comparison of constant 524288 with expressi… in test0()
146 ((long) 0x80000 == b) + in test0()
147 ((int) 0x80000 == b) + in test0()
148 ((short) 0x80000 == b) + in test0()
149 ((signed char) 0x80000 == b) + in test0()
150 ((long) 0x80000 == (unsigned long) b) + in test0()
151 ((int) 0x80000 == (unsigned int) b) + in test0()
152 ((short) 0x80000 == (unsigned short) b) + in test0()
153 ((signed char) 0x80000 == (unsigned char) b) + in test0()
154 (0x80000 < (unsigned long) b) + in test0()
155 (0x80000 < (unsigned int) b) + in test0()
156 …(0x80000 < (unsigned short) b) + // expected-warning {{comparison of constant 524288 with expressi… in test0()
157 …(0x80000 < (unsigned char) b) + // expected-warning {{comparison of constant 524288 with expressio… in test0()
158 ((long) 0x80000 < b) + in test0()
159 ((int) 0x80000 < b) + in test0()
160 ((short) 0x80000 < b) + in test0()
161 ((signed char) 0x80000 < b) + in test0()
162 ((long) 0x80000 < (unsigned long) b) + in test0()
163 ((int) 0x80000 < (unsigned int) b) + in test0()
164 ((short) 0x80000 < (unsigned short) b) + in test0()
165 ((signed char) 0x80000 < (unsigned char) b) + in test0()
220 signed long b; in test3() local
221 (void) (true ? a : b); in test3()
222 (void) (true ? (unsigned int)a : (signed int)b); in test3()
223 (void) (true ? b : a); in test3()
224 (void) (true ? (unsigned char)b : (signed char)a); in test3()
255 void test5(bool b) { in test5() argument
256 …(void) (b < -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is … in test5()
257 …(void) (b > -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is … in test5()
258 …(void) (b == -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is… in test5()
259 …(void) (b != -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is… in test5()
260 …(void) (b <= -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is… in test5()
261 …(void) (b >= -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is… in test5()
263 …(void) (b < -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' i… in test5()
264 …(void) (b > -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' i… in test5()
265 …(void) (b == -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' … in test5()
266 …(void) (b != -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' … in test5()
267 …(void) (b <= -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' … in test5()
268 …(void) (b >= -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' … in test5()
270 …(void) (b < 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is al… in test5()
271 …(void) (b > 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is al… in test5()
272 …(void) (b == 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is a… in test5()
273 …(void) (b != 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is a… in test5()
274 …(void) (b <= 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is a… in test5()
275 …(void) (b >= 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is a… in test5()
277 …(void) (b < 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is … in test5()
278 …(void) (b > 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is … in test5()
279 …(void) (b == 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is… in test5()
280 …(void) (b != 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is… in test5()
281 …(void) (b <= 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is… in test5()
282 …(void) (b >= 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is… in test5()