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