Skip to content

Investigate styling of else blocks with/without { #3022

Description

@ann0see

Throughout the Code we sometimes omit { in if/else blocks which might be confusing for developers and clang format. In general think this is a somewhat questionable style which led to confusion. We should overthink when omitting { is really ok.

Related to a comment by pljones:

So this is the one I think is questionable... I think. It should be same level as after the if on line 920.

Originally posted by @pljones in #3020 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    won't fixSomething isn't work but agreed not to fix

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions