Lines Matching full:constant
92 (C == (unsigned short) b) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'unsigned short' is always false}}
93 (C == (unsigned char) b) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'unsigned char' is always false}}
104 (C < (unsigned short) b) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'unsigned short' is always false}}
105 (C < (unsigned char) b) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'unsigned char' is always false}}
122 ((short) a == C) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'short' is always false}}
123 ((signed char) a == C) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'signed char' is always false}}
134 ((short) a < C) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'short' is always true}}
135 ((signed char) a < C) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'signed char' is always true}}
144 (0x80000 == (unsigned short) b) + // expected-warning {{comparison of constant 524288 with expression of type 'unsigned short' is always false}}
145 (0x80000 == (unsigned char) b) + // expected-warning {{comparison of constant 524288 with expression of type 'unsigned char' is always false}}
156 (0x80000 < (unsigned short) b) + // expected-warning {{comparison of constant 524288 with expression of type 'unsigned short' is always false}}
157 (0x80000 < (unsigned char) b) + // expected-warning {{comparison of constant 524288 with expression of type 'unsigned char' is always false}}
174 ((short) a == 0x80000) + // expected-warning {{comparison of constant 524288 with expression of type 'short' is always false}}
175 ((signed char) a == 0x80000) + // expected-warning {{comparison of constant 524288 with expression of type 'signed char' is always false}}
186 ((short) a < 0x80000) + // expected-warning {{comparison of constant 524288 with expression of type 'short' is always true}}
187 ((signed char) a < 0x80000) + // expected-warning {{comparison of constant 524288 with expression of type 'signed char' is always true}}
239 void (s == A); // expected-warning{{comparison of constant 32768 with expression of type 'short' is always false}}
240 void (s != A); // expected-warning{{comparison of constant 32768 with expression of type 'short' is always true}}
256 (void) (b < -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is always false}}
257 (void) (b > -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is always true}}
258 (void) (b == -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is always false}}
259 (void) (b != -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is always true}}
260 (void) (b <= -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is always false}}
261 (void) (b >= -1); // expected-warning{{comparison of constant -1 with expression of type 'bool' is always true}}
263 (void) (b < -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' is always false}}
264 (void) (b > -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' is always true}}
265 (void) (b == -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' is always false}}
266 (void) (b != -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' is always true}}
267 (void) (b <= -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' is always false}}
268 (void) (b >= -10); // expected-warning{{comparison of constant -10 with expression of type 'bool' is always true}}
270 (void) (b < 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is always true}}
271 (void) (b > 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is always false}}
272 (void) (b == 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is always false}}
273 (void) (b != 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is always true}}
274 (void) (b <= 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is always true}}
275 (void) (b >= 2); // expected-warning{{comparison of constant 2 with expression of type 'bool' is always false}}
277 (void) (b < 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is always true}}
278 (void) (b > 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is always false}}
279 (void) (b == 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is always false}}
280 (void) (b != 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is always true}}
281 (void) (b <= 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is always true}}
282 (void) (b >= 10); // expected-warning{{comparison of constant 10 with expression of type 'bool' is always false}}
286 (void)(sc < 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always true}}
287 (void)(sc > 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always false}}
288 (void)(sc <= 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always true}}
289 (void)(sc >= 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always false}}
290 (void)(sc == 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always false}}
291 constant 200 with expression of type 'signed char' is always true}}
293 (void)(200 < sc); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always false}}
294 (void)(200 > sc); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always true}}
295 (void)(200 <= sc); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always false}}
296 (void)(200 >= sc); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always true}}
297 (void)(200 == sc); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always false}}
298 (void)(200 != sc); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always true}}
303 // Common unsigned, other unsigned, constant unsigned
309 // Common unsigned, other signed, constant unsigned
316 // Common unsigned, other unsigned, constant signed
319 // Common unsigned, other signed, constant signed
322 // Common signed, other signed, constant signed
328 // Common signed, other signed, constant unsigned
332 // Common signed, other unsigned, constant signed
336 // Common signed, other unsigned, constant unsigned