[SERVER-75617] Make case fallthroughs explicit Created: 03/Apr/23 Updated: 29/Oct/23 Resolved: 04/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matt Kneiser | Assignee: | Matt Kneiser |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Execution Team 2023-04-17 | ||||||||
| Participants: | |||||||||
| Comments |
| Comment by Matt Kneiser [ 04/Apr/23 ] |
|
The two cases I found are considered trivial and the annotation isn't required. If any code is present in a fallthrough case, then gcc/clang would warn. |
| Comment by Matt Kneiser [ 04/Apr/23 ] |
|
Discovered just now that there was a large effort to convert to the [[fallthrough]] attribute in |
| Comment by Githook User [ 04/Apr/23 ] |
|
Author: {'name': 'Matt Kneiser', 'email': 'matt.kneiser@mongodb.com', 'username': 'themattman'}Message: |