Skip to content

Modernise code style #674

@mvorisek

Description

@mvorisek

I propose to use clang_format [1] CS formatter to enforce unified CS and minimize diff in a long term.

There are [2] multiple CS rulesets available out of the box matching well formed C CS by industry leaders.

The CS should be normalized in a few iterations (like WS first etc.) and then asserted by CI.

[1] https://clang.llvm.org/docs/ClangFormat.html
[2] https://clang.llvm.org/docs/ClangFormatStyleOptions.html#basedonstyle

Metadata

Metadata

Assignees

No one assigned

    Labels

    untidinessNot exactly a bug, but could do better

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions