Lines Matching full:use
43 return x && 4; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
44 // expected-note {{use '&' for a bitwise operation}} \ in test2()
53 return x && (unsigned)0; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
54 // expected-note {{use '&' for a bitwise operation}} \ in test2()
57 return x || (unsigned)1; // expected-warning {{use of logical '||' with constant operand}} \ in test2()
58 // expected-note {{use '|' for a bitwise operation}} in test2()
60 return x || 0; // expected-warning {{use of logical '||' with constant operand}} \ in test2()
61 // expected-note {{use '|' for a bitwise operation}} in test2()
62 return x || 1; // expected-warning {{use of logical '||' with constant operand}} \ in test2()
63 // expected-note {{use '|' for a bitwise operation}} in test2()
64 return x || -1; // expected-warning {{use of logical '||' with constant operand}} \ in test2()
65 // expected-note {{use '|' for a bitwise operation}} in test2()
66 return x || 5; // expected-warning {{use of logical '||' with constant operand}} \ in test2()
67 // expected-note {{use '|' for a bitwise operation}} in test2()
68 return x && 0; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
69 // expected-note {{use '&' for a bitwise operation}} \ in test2()
71 return x && 1; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
72 // expected-note {{use '&' for a bitwise operation}} \ in test2()
74 return x && -1; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
75 // expected-note {{use '&' for a bitwise operation}} \ in test2()
77 return x && 5; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
78 // expected-note {{use '&' for a bitwise operation}} \ in test2()
80 return x || (0); // expected-warning {{use of logical '||' with constant operand}} \ in test2()
81 // expected-note {{use '|' for a bitwise operation}} in test2()
82 return x || (1); // expected-warning {{use of logical '||' with constant operand}} \ in test2()
83 // expected-note {{use '|' for a bitwise operation}} in test2()
84 return x || (-1); // expected-warning {{use of logical '||' with constant operand}} \ in test2()
85 // expected-note {{use '|' for a bitwise operation}} in test2()
86 return x || (5); // expected-warning {{use of logical '||' with constant operand}} \ in test2()
87 // expected-note {{use '|' for a bitwise operation}} in test2()
88 return x && (0); // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
89 // expected-note {{use '&' for a bitwise operation}} \ in test2()
91 return x && (1); // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
92 // expected-note {{use '&' for a bitwise operation}} \ in test2()
94 return x && (-1); // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
95 // expected-note {{use '&' for a bitwise operation}} \ in test2()
97 return x && (5); // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
98 // expected-note {{use '&' for a bitwise operation}} \ in test2()
106 e2 = A && 7 // expected-warning {{use of logical '&&' with constant operand}} \
107 // expected-note {{use '&' for a bitwise operation}} \
113 int y = B && 3; // expected-warning {{use of logical '&&' with constant operand}} \ in foo()
114 // expected-note {{use '&' for a bitwise operation}} \ in foo()
141 bool r2 = X || Y2; // expected-warning {{use of logical '||' with constant operand}} \ in test4()
142 // expected-note {{use '|' for a bitwise operation}} in test4()