Lines Matching full:expression
8 if(b > true) {} // expected-warning {{comparison of true with expression of type 'bool' is always false}}
11 if(b <= true) {} // expected-warning {{comparison of true with expression of type 'bool' is always true}}
16 if(b < false) {} // expected-warning {{comparison of false with expression of type 'bool' is always false}}
17 if(b >= false) {} // expected-warning {{comparison of false with expression of type 'bool' is always true}}
22 if(b > 1U){} // expected-warning {{comparison of constant 1 with expression of type 'bool' is always false}}
32 if (a > 1) {} // expected-warning {{comparison of constant 1 with expression of type 'bool' is always false}}
33 if (a > 2) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always false}}
35 if (a >= 0) {} // expected-warning {{comparison of constant 0 with expression of type 'bool' is always true}}
37 if (a >= 2) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always false}}
38 if (a >= -1) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always true}}
41 if (a <= 1) {} // expected-warning {{comparison of constant 1 with expression of type 'bool' is always true}}
42 if (a <= 2) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always true}}
43 if (a <= -1) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always false}}
46 if (!a > 1) {} // expected-warning {{comparison of constant 1 with expression of type 'bool' is always false}}
47 if (!a > 2) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always false}}
50 if (!a > -1) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always true}}
52 if (!a < 0) {} // expected-warning {{comparison of constant 0 with expression of type 'bool' is always false}}
54 if (!a < 2) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always true}}
57 if (!a < -1) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always false}}
59 if (!a >= 0) {} // expected-warning {{comparison of constant 0 with expression of type 'bool' is always true}}
61 if (!a >= 2) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always false}}
64 if (!a >= -1) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always true}}
67 if (!a <= 1) {} // expected-warning {{comparison of constant 1 with expression of type 'bool' is always true}}
68 if (!a <= 2) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always true}}
71 if (!a <= -1) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always false}}
74 if ((a||b) > 1) {} // expected-warning {{comparison of constant 1 with expression of type 'bool' is always false}}
75 if ((a||b) > 4) {} // expected-warning {{comparison of constant 4 with expression of type 'bool' is always false}}
76 if ((a||b) > -1) {}// expected-warning {{comparison of constant -1 with expression of type 'bool' is always true}}
79 if ((a&&b) > 1) {} // expected-warning {{comparison of constant 1 with expression of type 'bool' is always false}}
80 if ((a&&b) > 4) {} // expected-warning {{comparison of constant 4 with expression of type 'bool' is always false}}
83 if ((a<y) > 1) {} // expected-warning {{comparison of constant 1 with expression of type 'bool' is always false}}
84 if ((a<y) > 4) {} // expected-warning {{comparison of constant 4 with expression of type 'bool' is always false}}
86 if ((a<y) > -1) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always true}}
90 if ((a<y) == 2) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always false}}
92 if ((a<y) == -1) {}// expected-warning {{comparison of constant -1 with expression of type 'bool' is always false}}
96 if ((a<y) != 2) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always true}}
98 if ((a<y) != -1) {}// expected-warning {{comparison of constant -1 with expression of type 'bool' is always true}}
110 if (0 > !a) {} // expected-warning {{comparison of constant 0 with expression of type 'bool' is always false}}
112 if (2 > !a) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always true}}
114 if (-1 > !a) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always false}}
117 if (1 < !a) {} // expected-warning {{comparison of constant 1 with expression of type 'bool' is always false}}
118 if (2 < !a) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always false}}
120 if (-1 < !a) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always true}}
124 if (1 >= !a) {} // expected-warning {{comparison of constant 1 with expression of type 'bool' is always true}}
125 if (2 >= !a) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always true}}
127 if (-1 >= !a) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always false}}
129 if (0 <= !a) {} // expected-warning {{comparison of constant 0 with expression of type 'bool' is always true}}
131 if (2 <= !a) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always false}}
133 if (-1 <= !a) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always true}}
135 if (0 > (a||b)) {} // expected-warning {{comparison of constant 0 with expression of type 'bool' is always false}}
137 if (4 > (a||b)) {} // expected-warning {{comparison of constant 4 with expression of type 'bool' is always true}}
139 if (0 > (a&&b)) {} // expected-warning {{comparison of constant 0 with expression of type 'bool' is always false}}
141 if (4 > (a&&b)) {} // expected-warning {{comparison of constant 4 with expression of type 'bool' is always true}}
143 if (0 > (a<y)) {} // expected-warning {{comparison of constant 0 with expression of type 'bool' is always false}}
145 if (4 > (a<y)) {} // expected-warning {{comparison of constant 4 with expression of type 'bool' is always true}}
147 if (-1 > (a<y)) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always false}}
151 if (2 == (a<y)) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always false}}
153 if (-1 == (a<y)){} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always false}}
157 if (2 !=(a<y)) {} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always true}}
159 if (-1 !=(a<y)) {} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always true}}
172 if(((z==x)<-1)!=(a<y)){} // expected-warning {{comparison of constant -1 with expression of type 'bool' is always false}}
173 if(((z==x)< 2)!=(a<y)){} // expected-warning {{comparison of constant 2 with expression of type 'bool' is always true}}