Skip to content

Allow function arguments/parameters to be always forced one per line #51833

@llvmbot

Description

@llvmbot
Bugzilla Link 52491
Version trunk
OS Windows NT
Reporter LLVM Bugzilla Contributor

Extended Description

Some code styles, e.g. Microsoft use the following formatting for function arguments/parameters, which is impossible to configure with the available options:

// a.h

void func1(
   int a1,
   int a2
);

// a.c

void func2(
   int b1,
   int b2
) {
  func1(
    b1,
    b2
  );
};

Arguments/parameters should be always forced on a new line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang-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