<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/87250>87250</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [Feature Request] Clang-format: Always break function args
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-format
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          sdimovv
      </td>
    </tr>
</table>

<pre>
    Hi,

I need  `clang-format` to unconditionally break function args into one per line. With bonus points for not breaking when there are no args.

To illustrate better what I mean:

```c
void myFunc(void);
void myFunc(void)
{
}

void myFuncWithArg(
    int myArg
);
void myFuncWithArg(
    int myArg
)
{
}

void myFuncWithTwoArgs(
    int myArg1, 
 int myArg2
);
void myFuncWithTwoArgs(
    int myArg1, 
    int myArg2
)
{
}

void myVeryLongFuncGoingOverTheLineCharacterLimit(
    int myArg
);
void myVeryLongFuncGoingOverTheLineCharacterLimit(
    int myArg
)
{
}
```

I tried playing around with the options and reading the documentation but I only managed to get it to do this whenever the function name or args go over the set character limit. 

I think think this might not be possible currently, which is why I am opening this issue.



 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVNGK6zYQ_Rr5ZdhgK07iPPghu0vahYVCWdpnWZrY6pU1qTRK8N8X2Tf3Zsu2vQuFoFgjzZlzxJxRMdreI7Zi8yg2z4VKPFBoo7EjXS5FR2Zqf7ZCPonyWZSHZX0Bj2gAxLbUTvn-4URhVCy2JTBB8pq8sWzJK-cm6AKqL3BKXucQqNBHsJ4JyCOcMYCzHlfwu-UBOvIpwpms5wgnCuCJFwDre7gO6IEHDAgqIHiawVb31N4IrHMpclCM0CEzBrgOiuEFRlRerA_318W2XH562V_IGhinY_JayCbvhNyL9eO_nS5Au8fbx_N9gbuULPAQeiGb5QgA8jvAOOXokvNxsR_M_AyRtysdQh8_hqyEfIKv8W9B-Z8UfxjzPi4_x_83DNMr-T7X_Ims73-5YHgb8NV6fBpUUJoxvNrR8iff-f8D_icZt1Z77yQOFg2cnZpyh6tAyRu4Zi_wgEDn7JkIyhsIqEy-k-OGdBrRs5ot1aXc3uTdBKPyqkeTfdgjg-X8ZQh4sHH2D14wzBDfDOnViEBhMWZPQLcbERn0TTq4rH0Ff2M_WP_l-xphtP3Ai2sRzhSj7RyCTiGgZzflJrgOVg8w05ngBdQIdEa_KLMRbIwJ33n6foXCtGuzX-9VgW21q6p9s6vkthjast5gVZZVU5fbRu932OB-Z5Q-1fXupHFd2FaWsi7rsqo2m6berup9adSp09qcum4rG1GXOCrrVs5dxhWFvpi5tM1ObsrCqQ5dnOeklO_GnpR5coY2pz10qY-iLp2NHL8DsWU3z9gjKk4B4Vf8M2FksXmGp3us9QEO7qqm-NHYLFJw7cB8jnmMyaOQx97ykLqVplHIYy739e_hHOgP1CzkcRYRhTzOOv4KAAD__6qR2RM">