Lines Matching full:signed

1 // RUN: %check_clang_tidy %s hicpp-signed-bitwise %t -- -- --target=x86_64-linux
20 AnotherStream &operator<<(signed char c) { return *this; } in operator <<()
23 AnotherStream &operator>>(signed char c) { return *this; } in operator >>()
34 …// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
36 …// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
38 …// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
41 …// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
43 …// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
45 …// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
53 signed char SByte1 = 0; in binary_bitwise()
54 signed char SByte2 = 16; in binary_bitwise()
58 …// CHECK-MESSAGES: :[[@LINE-1]]:12: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
60 …// CHECK-MESSAGES: :[[@LINE-1]]:12: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
62 …// CHECK-MESSAGES: :[[@LINE-1]]:12: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
66 …// CHECK-MESSAGES: :[[@LINE-1]]:22: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
67 …// CHECK-MESSAGES: :[[@LINE-2]]:33: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
73 …// CHECK-MESSAGES: :[[@LINE-1]]:21: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
75 …// CHECK-MESSAGES: :[[@LINE-1]]:12: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
80 …// CHECK-MESSAGES: :[[@LINE-1]]:21: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
82 …// CHECK-MESSAGES: :[[@LINE-1]]:12: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
87 …// CHECK-MESSAGES: :[[@LINE-1]]:22: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
89 …// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
94 …// CHECK-MESSAGES: :[[@LINE-1]]:22: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
96 …// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
100 …// CHECK-MESSAGES: :[[@LINE-1]]:20: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
102 …// CHECK-MESSAGES: :[[@LINE-1]]:26: warning: use of a signed integer operand with a binary bitwise… in binary_bitwise()
106 void f2(signed char c) {} in f2()
111 signed char SByte1 = 0; in unary_bitwise()
116 …// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of a signed integer operand with a unary bitwise … in unary_bitwise()
118 …// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of a signed integer operand with a unary bitwise … in unary_bitwise()
125 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a unary bitwise o… in unary_bitwise()
128 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a unary bitwise o… in unary_bitwise()
131 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a unary bitwise o… in unary_bitwise()
134 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a unary bitwise o… in unary_bitwise()
137 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a unary bitwise o… in unary_bitwise()
146 …// CHECK-MESSAGES: :[[@LINE-1]]:11: warning: use of a signed integer operand with a binary bitwise… in standard_examples()
148 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a binary bitwise … in standard_examples()
151 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a binary bitwise … in standard_examples()
153 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a binary bitwise … in standard_examples()
156 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a binary bitwise … in standard_examples()
158 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a binary bitwise … in standard_examples()
161 …// CHECK-MESSAGES: :[[@LINE-1]]:8: warning: use of a signed integer operand with a unary bitwise o… in standard_examples()
166 …// CHECK-MESSAGES: :[[@LINE-1]]:20: warning: use of a signed integer operand with a binary bitwise… in standard_examples()
168 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a binary bitwise … in standard_examples()
170 …// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: use of a signed integer operand with a binary bitwise … in standard_examples()
182 signed char sc = 1; in streams_should_work()
211 s3 = IntOne | IntTwo; // Signed in classicEnums()
212 …// CHECK-MESSAGES: [[@LINE-1]]:8: warning: use of a signed integer operand with a binary bitwise o… in classicEnums()
213 s3|= IntTwo; // Signed in classicEnums()
214 …// CHECK-MESSAGES: [[@LINE-1]]:3: warning: use of a signed integer operand with a binary bitwise o… in classicEnums()
215 s3 = IntOne & IntTwo; // Signed in classicEnums()
216 …// CHECK-MESSAGES: [[@LINE-1]]:8: warning: use of a signed integer operand with a binary bitwise o… in classicEnums()
217 s3&= IntTwo; // Signed in classicEnums()
218 …// CHECK-MESSAGES: [[@LINE-1]]:3: warning: use of a signed integer operand with a binary bitwise o… in classicEnums()
219 s3 = IntOne ^ IntTwo; // Signed in classicEnums()
220 …// CHECK-MESSAGES: [[@LINE-1]]:8: warning: use of a signed integer operand with a binary bitwise o… in classicEnums()
221 s3^= IntTwo; // Signed in classicEnums()
222 …// CHECK-MESSAGES: [[@LINE-1]]:3: warning: use of a signed integer operand with a binary bitwise o… in classicEnums()
223 s3 = s1 | s2; // Signed in classicEnums()
224 …// CHECK-MESSAGES: [[@LINE-1]]:8: warning: use of a signed integer operand with a binary bitwise o… in classicEnums()
225 s3 = s1 & s2; // Signed in classicEnums()
226 …// CHECK-MESSAGES: [[@LINE-1]]:8: warning: use of a signed integer operand with a binary bitwise o… in classicEnums()
227 s3 = s1 ^ s2; // Signed in classicEnums()
228 …// CHECK-MESSAGES: [[@LINE-1]]:8: warning: use of a signed integer operand with a binary bitwise o… in classicEnums()
235 …// CHECK-MESSAGES: [[@LINE-1]]:11: warning: use of a signed integer operand with a binary bitwise …
237 …// CHECK-MESSAGES: [[@LINE-1]]:11: warning: use of a signed integer operand with a binary bitwise …
239 …// CHECK-MESSAGES: [[@LINE-1]]:17: warning: use of a signed integer operand with a binary bitwise …