Commit 026d8f6
fix #8284: False positive: "Label 'class' is not used." for anonymous… (danmar#1011)
* fix #8284: False positive: "Label 'class' is not used." for anonymous C++ class
Add support for annonymous derived structures and classes.
* Fix travis build (use findsimplematch).
* Fix bug in simplifyLabelsCaseDefault which was inserting ; in wrong place.1 parent 0d4744c commit 026d8f6
2 files changed
+21
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2178 | 2178 | | |
2179 | 2179 | | |
2180 | 2180 | | |
| 2181 | + | |
2181 | 2182 | | |
2182 | 2183 | | |
2183 | 2184 | | |
| |||
2233 | 2234 | | |
2234 | 2235 | | |
2235 | 2236 | | |
2236 | | - | |
2237 | | - | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
2238 | 2241 | | |
2239 | 2242 | | |
2240 | 2243 | | |
| |||
8506 | 8509 | | |
8507 | 8510 | | |
8508 | 8511 | | |
| 8512 | + | |
| 8513 | + | |
8509 | 8514 | | |
8510 | 8515 | | |
8511 | 8516 | | |
| |||
8523 | 8528 | | |
8524 | 8529 | | |
8525 | 8530 | | |
| 8531 | + | |
| 8532 | + | |
| 8533 | + | |
| 8534 | + | |
| 8535 | + | |
| 8536 | + | |
| 8537 | + | |
8526 | 8538 | | |
8527 | 8539 | | |
8528 | 8540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3067 | 3067 | | |
3068 | 3068 | | |
3069 | 3069 | | |
| 3070 | + | |
| 3071 | + | |
| 3072 | + | |
| 3073 | + | |
| 3074 | + | |
| 3075 | + | |
| 3076 | + | |
3070 | 3077 | | |
3071 | 3078 | | |
3072 | 3079 | | |
| |||
0 commit comments