Home | History | Annotate | Download | only in Sema

Lines Matching full:evaluate

11   if (x != 2 || x != 3) { } // expected-warning {{overlapping comparisons always evaluate to true}}
12 if (x > 2 || x < 3) { } // expected-warning {{overlapping comparisons always evaluate to true}}
16 if (x > 2 || x <= 2) { } // expected-warning {{overlapping comparisons always evaluate to true}}
17 if (x > 2 || x <= 3) { } // expected-warning {{overlapping comparisons always evaluate to true}}
20 if (x >= 2 || x < 2) { } // expected-warning {{overlapping comparisons always evaluate to true}}
21 if (x >= 2 || x < 3) { } // expected-warning {{overlapping comparisons always evaluate to true}}
23 if (x >= 2 || x <= 1) { } // expected-warning {{overlapping comparisons always evaluate to true}}
24 if (x >= 2 || x <= 2) { } // expected-warning {{overlapping comparisons always evaluate to true}}
25 if (x >= 2 || x <= 3) { } // expected-warning {{overlapping comparisons always evaluate to true}}
26 if (x >= 0 || x <= 0) { } // expected-warning {{overlapping comparisons always evaluate to true}}
29 if (x > 2 && x < 1) { } // expected-warning {{overlapping comparisons always evaluate to false}}
30 if (x > 2 && x < 2) { } // expected-warning {{overlapping comparisons always evaluate to false}}
31 if (x > 2 && x < 3) { } // expected-warning {{overlapping comparisons always evaluate to false}}
32 if (x > 0 && x < 1) { } // expected-warning {{overlapping comparisons always evaluate to false}}
34 if (x > 2 && x <= 1) { } // expected-warning {{overlapping comparisons always evaluate to false}}
35 if (x > 2 && x <= 2) { } // expected-warning {{overlapping comparisons always evaluate to false}}
38 if (x >= 2 && x < 1) { } // expected-warning {{overlapping comparisons always evaluate to false}}
39 if (x >= 2 && x < 2) { } // expected-warning {{overlapping comparisons always evaluate to false}}
41 if (x >= 0 && x < 0) { } // expected-warning {{overlapping comparisons always evaluate to false}}
43 if (x >= 2 && x <= 1) { } // expected-warning {{overlapping comparisons always evaluate to false}}
48 if (x != 2 || x != 3) { } // expected-warning {{overlapping comparisons always evaluate to true}}
49 if (x != 2 || x < 3) { } // expected-warning {{overlapping comparisons always evaluate to true}}
50 if (x == 2 && x == 3) { } // expected-warning {{overlapping comparisons always evaluate to false}}
51 if (x == 2 && x > 3) { } // expected-warning {{overlapping comparisons always evaluate to false}}
52 if (x == 3 && x < 0) { } // expected-warning {{overlapping comparisons always evaluate to false}}
53 if (3 == x && x < 0) { } // expected-warning {{overlapping comparisons always evaluate to false}}