Lines Matching +full:- +full:- +full:token

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