Skip to content

Enable C26819 to catch unintended fallthroughs in switch statements #11477

@chrisglein

Description

@chrisglein
          can you turn on [C26819](https://learn.microsoft.com/en-us/cpp/code-quality/c26819?view=msvc-170) and make it an error? intended fallthroughs should use `[[fallthrough]]`

Originally posted by @asklar in #11469 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions