Lines Matching +full:- +full:- +full:token
1 // RUN: %check_clang_tidy %s readability-operators-representation %t -- -config="{CheckOptions: {\
2 // RUN: readability-operators-representation.BinaryOperators: 'and;and_eq;bitand;bitor;compl;not;no…
3 // RUN: readability-operators-representation.OverloadedOperators: 'and;and_eq;bitand;bitor;compl;no…
9 …-MESSAGES: :[[@LINE-1]]:12: warning: '||' is a traditional token spelling, consider using an alter… in testAllTokensToAlternative()
10 // CHECK-FIXES: {{^ }}value = a or b;{{$}} in testAllTokensToAlternative()
13 …-MESSAGES: :[[@LINE-1]]:12: warning: '&&' is a traditional token spelling, consider using an alter… in testAllTokensToAlternative()
14 // CHECK-FIXES: {{^ }}value = a and b;{{$}} in testAllTokensToAlternative()
17 …-MESSAGES: :[[@LINE-1]]:13: warning: '|' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
18 // CHECK-FIXES: {{^ }}value = a bitor b;{{$}} in testAllTokensToAlternative()
21 …-MESSAGES: :[[@LINE-1]]:13: warning: '&' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
22 // CHECK-FIXES: {{^ }}value = a bitand b;{{$}} in testAllTokensToAlternative()
25 …-MESSAGES: :[[@LINE-1]]:11: warning: '!' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
26 // CHECK-FIXES: {{^ }}value = not a;{{$}} in testAllTokensToAlternative()
29 …-MESSAGES: :[[@LINE-1]]:12: warning: '^' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
30 // CHECK-FIXES: {{^ }}value = a xor b;{{$}} in testAllTokensToAlternative()
33 …-MESSAGES: :[[@LINE-1]]:11: warning: '~' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
34 // CHECK-FIXES: {{^ }}value = compl b;{{$}} in testAllTokensToAlternative()
37 …-MESSAGES: :[[@LINE-1]]:9: warning: '&=' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
38 // CHECK-FIXES: {{^ }}value and_eq b;{{$}} in testAllTokensToAlternative()
41 …-MESSAGES: :[[@LINE-1]]:9: warning: '|=' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
42 // CHECK-FIXES: {{^ }}value or_eq b;{{$}} in testAllTokensToAlternative()
45 …-MESSAGES: :[[@LINE-1]]:13: warning: '!=' is a traditional token spelling, consider using an alter… in testAllTokensToAlternative()
46 // CHECK-FIXES: {{^ }}value = a not_eq b;{{$}} in testAllTokensToAlternative()
49 …-MESSAGES: :[[@LINE-1]]:9: warning: '^=' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
50 // CHECK-FIXES: {{^ }}value xor_eq a;{{$}} in testAllTokensToAlternative()
72 …-MESSAGES: :[[@LINE-1]]:12: warning: '||' is a traditional token spelling, consider using an alter… in testAllTokensToAlternative()
73 // CHECK-FIXES: {{^ }}value = a or b;{{$}} in testAllTokensToAlternative()
76 …-MESSAGES: :[[@LINE-1]]:12: warning: '&&' is a traditional token spelling, consider using an alter… in testAllTokensToAlternative()
77 // CHECK-FIXES: {{^ }}value = a and b;{{$}} in testAllTokensToAlternative()
80 …-MESSAGES: :[[@LINE-1]]:13: warning: '|' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
81 // CHECK-FIXES: {{^ }}clval = a bitor b;{{$}} in testAllTokensToAlternative()
84 …-MESSAGES: :[[@LINE-1]]:13: warning: '&' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
85 // CHECK-FIXES: {{^ }}clval = a bitand b;{{$}} in testAllTokensToAlternative()
88 …-MESSAGES: :[[@LINE-1]]:11: warning: '!' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
89 // CHECK-FIXES: {{^ }}value = not a;{{$}} in testAllTokensToAlternative()
92 …-MESSAGES: :[[@LINE-1]]:12: warning: '^' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
93 // CHECK-FIXES: {{^ }}clval = a xor b;{{$}} in testAllTokensToAlternative()
96 …-MESSAGES: :[[@LINE-1]]:11: warning: '~' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
97 // CHECK-FIXES: {{^ }}clval = compl b;{{$}} in testAllTokensToAlternative()
100 …-MESSAGES: :[[@LINE-1]]:9: warning: '&=' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
101 // CHECK-FIXES: {{^ }}clval and_eq b;{{$}} in testAllTokensToAlternative()
104 …-MESSAGES: :[[@LINE-1]]:9: warning: '|=' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
105 // CHECK-FIXES: {{^ }}clval or_eq b;{{$}} in testAllTokensToAlternative()
108 …-MESSAGES: :[[@LINE-1]]:13: warning: '!=' is a traditional token spelling, consider using an alter… in testAllTokensToAlternative()
109 // CHECK-FIXES: {{^ }}value = a not_eq b;{{$}} in testAllTokensToAlternative()
112 …-MESSAGES: :[[@LINE-1]]:9: warning: '^=' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
113 // CHECK-FIXES: {{^ }}clval xor_eq a;{{$}} in testAllTokensToAlternative()
135 …-MESSAGES: :[[@LINE-1]]:12: warning: '||' is a traditional token spelling, consider using an alter… in testAllTokensToAlternative()
136 // CHECK-FIXES: {{^ }}value = a or b;{{$}} in testAllTokensToAlternative()
139 …-MESSAGES: :[[@LINE-1]]:12: warning: '&&' is a traditional token spelling, consider using an alter… in testAllTokensToAlternative()
140 // CHECK-FIXES: {{^ }}value = a and b;{{$}} in testAllTokensToAlternative()
143 …-MESSAGES: :[[@LINE-1]]:13: warning: '|' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
144 // CHECK-FIXES: {{^ }}clval = a bitor b;{{$}} in testAllTokensToAlternative()
147 …-MESSAGES: :[[@LINE-1]]:13: warning: '&' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
148 // CHECK-FIXES: {{^ }}clval = a bitand b;{{$}} in testAllTokensToAlternative()
151 …-MESSAGES: :[[@LINE-1]]:11: warning: '!' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
152 // CHECK-FIXES: {{^ }}value = not a;{{$}} in testAllTokensToAlternative()
155 …-MESSAGES: :[[@LINE-1]]:12: warning: '^' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
156 // CHECK-FIXES: {{^ }}clval = a xor b;{{$}} in testAllTokensToAlternative()
159 …-MESSAGES: :[[@LINE-1]]:11: warning: '~' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
160 // CHECK-FIXES: {{^ }}clval = compl b;{{$}} in testAllTokensToAlternative()
163 …-MESSAGES: :[[@LINE-1]]:9: warning: '&=' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
164 // CHECK-FIXES: {{^ }}clval and_eq b;{{$}} in testAllTokensToAlternative()
167 …-MESSAGES: :[[@LINE-1]]:9: warning: '|=' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
168 // CHECK-FIXES: {{^ }}clval or_eq b;{{$}} in testAllTokensToAlternative()
171 …-MESSAGES: :[[@LINE-1]]:13: warning: '!=' is a traditional token spelling, consider using an alter… in testAllTokensToAlternative()
172 // CHECK-FIXES: {{^ }}value = a not_eq b;{{$}} in testAllTokensToAlternative()
175 …-MESSAGES: :[[@LINE-1]]:9: warning: '^=' is a traditional token spelling, consider using an altern… in testAllTokensToAlternative()
176 // CHECK-FIXES: {{^ }}clval xor_eq a;{{$}} in testAllTokensToAlternative()