Skip to content

clang-format: breaking parameters and argumentsΒ #53190

@bertie-wheen

Description

@bertie-wheen

It would be nice if I could unconditionally (or, particularly for arguments, whenever there are multiple) break parameter and argument lists (not just when they're long).

I am aware of:

  • AlignAfterOpenBracket
  • AllowAllParametersOfDeclarationOnNextLine
  • BinPackParameters
  • ExperimentalAutoDetectBinPacking
  • PenaltyBreakBeforeFirstCallParameter
  • PenaltyBreakOpenParenthesis

As far as I am aware though, this functionality is not (yet) available.

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