@@ -88,25 +88,25 @@ int test(int i, int j, int (*foo)(int), int (*bar)(int, int))
88
88
89
89
// Mixed tabs and spaces (ugly case):
90
90
91
- for (i = 0 , // GOOD if tab >= 4 spaces else BAD
91
+ for (i = 0 , // GOOD if tab >= 4 spaces else BAD -- can't exclude w/o source code text :/
92
92
j = 0 ;
93
93
i + j < 10 ;
94
- i++, // GOOD if tab >= 4 spaces else BAD
94
+ i++, // GOOD if tab >= 4 spaces else BAD -- can't exclude w/o source code text :/
95
95
j++);
96
96
97
97
if (i)
98
- (void )i, // GOOD if tab >= 4 spaces else BAD
98
+ (void )i, // GOOD if tab >= 4 spaces else BAD -- can't exclude w/o source code text :/
99
99
(void )j;
100
100
101
101
// One char difference (common but borderline):
102
102
103
- for (i = 0 , // GOOD? [FALSE POSITIVE]
103
+ for (i = 0 , // GOOD? [FALSE POSITIVE] -- can't exclude w/o source code text :/
104
104
j = 1 ;
105
105
i + j < 10 ;
106
106
i++, j++);
107
107
108
108
for (i = 0 ,
109
- j = 1 ; i < 10 ; i += 2 , // GOOD? [FALSE POSITIVE]
109
+ j = 1 ; i < 10 ; i += 2 , // GOOD? [FALSE POSITIVE] -- can't exclude w/o source code text :/
110
110
j++) {}
111
111
112
112
// LHS ends on same line RHS begins on:
@@ -119,7 +119,7 @@ int test(int i, int j, int (*foo)(int), int (*bar)(int, int))
119
119
120
120
if (foo (j))
121
121
return i++
122
- , i++ // GOOD(?) [FALSE POSITIVE]
122
+ , i++ // GOOD(?) [FALSE POSITIVE] -- can't exclude w/o source code text :/
123
123
? 1
124
124
: 2 ;
125
125
0 commit comments