Lines Matching full:logical
195 return x && 4; // expected-warning {{use of logical '&&' with constant operand}} \
199 return x && sizeof(int) == 4; // no warning, RHS is logical op.
206 return x || -1; // expected-warning {{use of logical '||' with constant operand}} \
208 return x || 5; // expected-warning {{use of logical '||' with constant operand}} \
212 return x && -1; // expected-warning {{use of logical '&&' with constant operand}} \
215 return x && 5; // expected-warning {{use of logical '&&' with constant operand}} \
220 return x || (-1); // expected-warning {{use of logical '||' with constant operand}} \
222 return x || (5); // expected-warning {{use of logical '||' with constant operand}} \
226 return x && (-1); // expected-warning {{use of logical '&&' with constant operand}} \
229 return x && (5); // expected-warning {{use of logical '&&' with constant operand}} \