Opt in to -Wimplicit-fallthrough in src/mongo

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: Build, Internal Code
    • None
    • Fully Compatible
    • Dev Platform 2022-04-18
    • 65
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is a very easy bug to accidentally type, and can be hard to notice in code review. There are only a handful of current violations. I haven't checked if any are bugs, but even if they aren't, it seems like it would be easier for the reader to have an explicit [[fallthrough]] annotation.

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: