Skip to content

Fix inconsistent clang-format behaviour on MacOS vs Ubuntu #3842

Description

@nycrat

Description of the task

Since Ubuntu installs clang-format 14 and MacOS installs clang-format 20, there are several inconsistencies in formatting. These differences should ideally be resolved by either updating the clang-format version to be the same or with an alternative solution.

For example (the additions is clang-format 20):

Image

Another example:

Image

Acceptance criteria

  • Running ./scripts/lint_and_format.sh results in the same results for formatting c++ code on MacOS and Ubuntu

Blocked By

Metadata

Metadata

Assignees

No one assigned

    Labels

    DevOpsFor everything related to logistics of codeDifficulty - 3Easy and simple issues that require some context to do

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions