HomeFreeBSD

clang-format: Avoid breaking after the opening paren of function definitions

Description

clang-format: Avoid breaking after the opening paren of function definitions

This depends on https://reviews.llvm.org/D90246 to have any effect, but once
that has landed clang-format will no longer format code like this:

int
myfunction(
    int param1, int param2, int param2)
{
   ...
}

and instead create the following:

int
myfunction(int param1, int param2,
    int param2)
{
   ...
}

Reviewed By: emaste, cem
Differential Revision: https://reviews.freebsd.org/D26978

Details

Provenance
arichardsonAuthored on Oct 28 2020, 11:54 AM
Parents
rG453d775b3404: clang-format: place sys/systm.h immediately after sys/param.h
Branches
Unknown
Tags
Unknown

Event Timeline