Skip to content

clang-format: breaking before closing parentheses of parameter and argument lists #53192

Closed
@bertie-wheen

Description

@bertie-wheen

It would be nice if I could break parentheses like braces.

For example:

function_1(
  argument_1,
  function_2(
    argument_2,
    argument_3
  ),
  argument_4
);

Rather than:

function_1(
  argument_1,
  function_2(
    argument_2,
    argument_3),
  argument_4);

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang-formatenhancementImproving things as opposed to bug fixing, e.g. new or missing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions