Commit 058471b
committed
Skip constructor initializer lists and macro variable assignments
- Skip lines starting with ':' (initializer list) and ',' with '('
(continuation) to prevent false method captures
- Skip function matches where ')' is followed by '=' assignment
(macro-declared variables like B3_ATTRIBUTE_ALIGNED16)
- Preserves = 0, = default, = delete correctly
Verified: 0 false positives across 183,379 records from 9 codebases.1 parent cfcf2fd commit 058471b
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
302 | 312 | | |
303 | 313 | | |
304 | 314 | | |
| |||
879 | 889 | | |
880 | 890 | | |
881 | 891 | | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
882 | 901 | | |
883 | 902 | | |
884 | 903 | | |
| |||
0 commit comments