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

    <tr>
        <th>Summary</th>
        <td>
            There is no option to add line break before brace of array initializer in clang-format
        </td>
    </tr>

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

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

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

<pre>
    There is no option of brace wrapping for array initializer in `BraceWrapping` when you set `BreakBeforeBraces: Custom`.
As a result, line break before brace would be inconsistent.
Here is very simple example:

```
// AfterEnum: true
enum test_enum
{
    0,
    1,
 2,
};

// But there is no option for array initialization
int test_array[3] = {
    0,
    1,
    2
};
```

I tried above in 
- clang-format 17.0.6 along with VS Code C/C++ Extension
- clang-format 18.1.4 from LLVM Download Page.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMU02PozgQ_TXmUgoyJkBy4BCSjnalXmmlXfUeVwUU4GljR_7odObXj_iY7p6ejDQSsl34vfIrlx86J3tNVLKsYtkpwuAHY8tbaFE-mxpv6AYZ1aa9lf8OZAmkA23AXLw0GkwHtcWG4GrxcpG6h85YQGvxBlJLL1HJr2RBamA5rybofyuS5RyuA2m4mQCO_AIgfK6oM5ZmrGPpAY7BeTOynMeMnxg_HBwgWHJBeSaOoKQmqCci1DPzuyITVAs1gdSN0U46T9qvKf5YC3khewMnx4sioFecZpYeFsw65nz9llCcmTjDofNkH3QYJ33eBlp2SYcRPDn__7RaGUW1LAAAOBPH9yh5j8TbkhUnllY_SFjOrIIH_3MH7tw3ThsLV2q_CJohLKtSlp2ApSf4PV0AIO7o-nQp8_gneCupBazNC80Nn39voFGo-01n7IgekiLmcQ6ojO7hKv0AT__A0bQERybORyYqJip4ePWk3VsVn3Ps4iTeQmfNCI-PT3_ByVy1MtjC39jT2uKoLdN2n-4xojIpkm2-TbK0iIYSE8Sm2SVtmmCBDd8lWdZ1tOcZ7hBTEclScLHlGRd8n-yyIk4x6zCrWy7yfZ0jsS2nEaWKlXoZY2P7SDoXqNzzXVpECmtSbraTEB91MyEmg9lyom3q0Du25Uo6794TeekV3TOaN4Bt-8vHbrr7pvt4fhSsKgfvL5OrlkfVSz-EOm7MyMR5ErFOm4s1X6jxTJzn0hwT57m6bwEAAP__e9RIxg">