Lines Matching full:use

42   return x && 4; // expected-warning {{use of logical '&&' with constant operand}} \  in test2()
43 // expected-note {{use '&' for a bitwise operation}} \ in test2()
52 return x && (unsigned)0; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
53 // expected-note {{use '&' for a bitwise operation}} \ in test2()
56 return x || (unsigned)1; // expected-warning {{use of logical '||' with constant operand}} \ in test2()
57 // expected-note {{use '|' for a bitwise operation}} in test2()
59 return x || 0; // expected-warning {{use of logical '||' with constant operand}} \ in test2()
60 // expected-note {{use '|' for a bitwise operation}} in test2()
61 return x || 1; // expected-warning {{use of logical '||' with constant operand}} \ in test2()
62 // expected-note {{use '|' for a bitwise operation}} in test2()
63 return x || -1; // expected-warning {{use of logical '||' with constant operand}} \ in test2()
64 // expected-note {{use '|' for a bitwise operation}} in test2()
65 return x || 5; // expected-warning {{use of logical '||' with constant operand}} \ in test2()
66 // expected-note {{use '|' for a bitwise operation}} in test2()
67 return x && 0; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
68 // expected-note {{use '&' for a bitwise operation}} \ in test2()
70 return x && 1; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
71 // expected-note {{use '&' for a bitwise operation}} \ in test2()
73 return x && -1; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
74 // expected-note {{use '&' for a bitwise operation}} \ in test2()
76 return x && 5; // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
77 // expected-note {{use '&' for a bitwise operation}} \ in test2()
79 return x || (0); // expected-warning {{use of logical '||' with constant operand}} \ in test2()
80 // expected-note {{use '|' for a bitwise operation}} in test2()
81 return x || (1); // expected-warning {{use of logical '||' with constant operand}} \ in test2()
82 // expected-note {{use '|' for a bitwise operation}} in test2()
83 return x || (-1); // expected-warning {{use of logical '||' with constant operand}} \ in test2()
84 // expected-note {{use '|' for a bitwise operation}} in test2()
85 return x || (5); // expected-warning {{use of logical '||' with constant operand}} \ in test2()
86 // expected-note {{use '|' for a bitwise operation}} in test2()
87 return x && (0); // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
88 // expected-note {{use '&' for a bitwise operation}} \ in test2()
90 return x && (1); // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
91 // expected-note {{use '&' for a bitwise operation}} \ in test2()
93 return x && (-1); // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
94 // expected-note {{use '&' for a bitwise operation}} \ in test2()
96 return x && (5); // expected-warning {{use of logical '&&' with constant operand}} \ in test2()
97 // expected-note {{use '&' for a bitwise operation}} \ in test2()
105 e2 = A && 7 // expected-warning {{use of logical '&&' with constant operand}} \
106 // expected-note {{use '&' for a bitwise operation}} \
112 int y = B && 3; // expected-warning {{use of logical '&&' with constant operand}} \ in foo()
113 // expected-note {{use '&' for a bitwise operation}} \ in foo()
140 bool r2 = X || Y2; // expected-warning {{use of logical '||' with constant operand}} \ in test4()
141 // expected-note {{use '|' for a bitwise operation}} in test4()