Skip to content

[Clang-format] arithmetic expressions involving braces are misformatted as pointers/references #112176

@kadircet

Description

@kadircet

expected formatting:

auto x = Foo{1} * Foo{2};
auto x = 1 * Foo{2};
auto x = bar * Foo{2};

actual formatting:

auto x = Foo{1} *Foo{2};
auto x = 1 *Foo{2};
auto x = bar *Foo{2};

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions