Skip to content

clang-tidy config for short case statements #466

@jmr

Description

@jmr

In #453 (comment) @smcallis suggests

AllowShortCaseLabelsOnASingleLine:    true

AlignConsecutiveShortCaseStatements:
  Enabled: true
  AcrossEmptyLines: true
  AcrossComments: true
  AlignCaseColons: false

We should see how consistently the existing code is formatted and if this is the rule in general.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions