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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] BinPackParameters/BinPackArguments' data type is not align with document, BinPackParametersStyle <> boolean
        </td>
    </tr>

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

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

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

<pre>
    I want my function defines tobe all formated to this:
```
returnType callFunction(
    typeA a,
    typeB b,
    typeC c,
    typeD d);

typedef returnType (*functionPointerName) (
    _In_ inType inVar);

void callFunction(
    typeA very_short_a);

returnType callFunction();
```

According to these documents, I use -style=file. and in my directory I create .clang-format file with all configurations.
https://github.com/llvm/llvm-project/blob/main/clang/docs/ClangFormatStyleOptions.rst
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
```
AllowAllParametersOfDeclarationOnNextLine: true
BinPackParameters: AlwaysOnePerLine 
ColumnLimit: 130
```

This config file failed with error:
It seems BinPackParameters accepts a boolean value rather than the BinPackParametersStyle mentioned in our documentations.
```
.clang-format:25:20: error: invalid boolean
BinPackParameters: AlwaysOnePerLine
```


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVNFu6jgQ_RrzMipy7LbAQx5c2EhIV7eV9mpfq4k9Id51bGQ7dPn7lQO0sGiv7kqIKBPPnONzjo0p2Z0nqtnTC3vazHDMfYh1RGODDsOsDeZYb-EDfYbhCN3odbbBg6HOekqQQ0uAzkEX4oCZDOQAubeJScW4Ys_8_OMqUh6j_3HcE2h0rjmPYmLJuAIAyMc9KUAm1leFF2hvC2vQt4UNGCZWTL4UPK5KyVAHV3AFQqgL97dgfab4HQdiYgVf-O9b_w721GL9Hxivxx6CNT_lfaB4fE99iPkdrxt_su3PVVcqMa6U1iEa63cnLSkRmKDHgXxOTKxhC2MieEj56IjJTWcdzQG9AeuLR8ZG0jnEI2xBR8JMMNcO_e7h5BGUBviwuZ-M08F3djdGLKzSnHHV57yf_BMNE83O5n5s5zoMTDTOHS6Ph30Mf5LOTDStCy0TzYDWM9FMWEw0JujERLMur82E_Hth_Lo_AcWU77Cm1nmZPg_xF2b0eXD_0k85Fz6Uc28YcaBMMb12G9IOTxt89d_p7_zNemJSQY4jMa5erH9D_ddXS_mm3Ace06unN4plPTCu1sGNg_9mB5vLkkrye_d-9DadRT0p3aF1ZE6CU4whno7GNkMiGhLcoQNqTfucAKENwRF6OKAbCSLmniLkHn3JxX3nJA6UoNjgaQpEGONner4svuZ8Ew4mlXgqf7xs8EIXrD-gs-bC51c1u1dnZmppVnKFM6qrhRTPi4ovqllfr7rqWVZCc97SknfYVZLLpey65-e2QiNnthZcPFaVWPBKVlU1b2XbGdnybmlEt1oge-Q0oHWf-ZnZlEaqq2qxlHzmsCWXpntOiJstC1FuvlhPqW7HXWKP3NmU09ekbLOb7sibxqfNvQVMNOeairvLmV2AwYzTRQE2gQ8Z0NmdP4XiYk852_9hKZNrJn-7yD8bo6v_9ymd1Cj8zoIcavFPAAAA__8zJvay">