Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Investigate styling of else blocks with/without { #3022

@ann0see

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions