<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/90976>90976</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
BinPackArguments doesn't seem to work correctly.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
monder2
</td>
</tr>
</table>
<pre>
hello,
I'm using clang-format 17, And I want to create custom style. I use **-style=file**. and in my directory I create .clang-format file with all configurations.
the Clang-Format Style Options: **AllowAllArgumentsOnNextLine**
the BinPackArguments configuration where If a function call or braced initializer list doesn’t fit on a line, allow putting all arguments onto the next line.
I want the clang-format to accept the two forms of the function( no matter if we declare the arguments of a function on multiple lines or not we don't get an error).
so if **BinPackArguments =false** and **BinPackParameters=false**
the function (declaration or parameters) can be like this:
```
callFunction( a, b, c, d);
```
or this :
```
callFunction(a,
b,
c,
d);
```
but for me it doesn't work
here are some screenshots:
**Configurations file:**
![configuration](https://github.com/llvm/llvm-project/assets/154244858/37e2b192-923c-4be4-817f-fad2ecbbc45f)
**Code Example:**
![functions](https://github.com/llvm/llvm-project/assets/154244858/16b05365-ab08-493f-b2fb-2f97612fd69f)
**C-lang Correction recieved:**
![error](https://github.com/llvm/llvm-project/assets/154244858/afbf315e-2115-4c8a-bc40-28a02ee3b891)
thanks in advance.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVe9q4zgQfxrly-Bgj-3Y_uAPabqBwnG7cE8gyeNYV1kKkrxp7ukP2UlT0-vBwpaiwPz9zfxmxtx7dTJELSufWPm84VMYrGtHazpyuBG2u7YDaW0ZHlj6zNL98r4wrEaYvDInkJqbU9JbN_IAWcXwAHvTwQtcuAkQLEhHPBDIyQc7gg9XTVt4gckTAMM9w30yC1n-3CtNi2gL3HSgDIxX6JQjGay7wss9GGxXaaMfXFQYgGsN0ppenSbHg7LGb2HBHAaCw-x0XJz-iknh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