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

    <tr>
        <th>Summary</th>
        <td>
            Bad line wrapping around designated initializers
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            bug,
            c++,
            clang-format
      </td>
    </tr>

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

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

<pre>
    actual formatting:
```cpp
$ clang-format a.cc
Foo bar = {
 .some_long_rand_field_name = my::cool::clasS::with::a::lonG::name.GetInt64Flag(
 some_real_long_func_parameter_to_enforce_wrapping_but_must_be_really_long)};
```

i.e. the line with `.some_long_rand_field_name = my::cool::clasS::with::a::lonG::name.GetInt64Flag(` goes over column limit, despite being possible to split.

expected formatting:
```cpp
Foo bar = {
    .some_long_rand_field_name = 
 my::cool::clasS::with::a::lonG::name.GetInt64Flag(
 some_real_long_func_parameter_to_enforce_wrapping_but_must_be_really_long)};
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzUU02L3DAM_TXOxWxwnO9DDjM7ZOm5PyAojsbj1rGDrex2--uLJ1O6h8LeCgWDn4Kkl-cnQYxGO8SB1WdWXzLY6ebD8B0WExRSNvvlfQBFO1h-9WEFIuM0K09MnFgjjqO2LYWy4sqC009HIodcKSZOo_d8hsBZeeGsPTNx4nn0K07WOz0FcMt0NWiXycGK96z1PRGUJ-W9fSAL8esB3wzdDgTHZb17OVBqkL8gfXHUVKMFzWSX6O5sAcEelNfdqWmDACsShon8hO7qg8LpLcC2Gaeneadp3SNN81Fo3--lTPasvbDy_FF9wuJkcsw53ZBb45Cnn-SsEf9SaCO49hi5f8XAlbf76rg1qyEmn_mCcTOEfEbjNN98jGa2yMnzuFlD-SECf2yoCJfPrP6LpZx_5mrK-r-czZahXPqyhwyHoq1kV5R90Wa3oVLd0vaoUC1YN2WLXY1l0yEWqK5NM2dmkELWopRVIequbPNOwLXulUAJfVdVklUCVzA2t_Z1zX3QmYlxx6EoZVuIzMKMNt6XUsp510xKJp-ZlIrJ8_38jj8sXPpYX7IwpJ5P864jq4Q1keIfFjJkcTjD8pjTx7NwCH53SxoTox2kETDOkAFrfmKI2R7scCPaYrJDjkyO2tBtn3PlVybH1P5xPW3Bf0NFTI53RZHJ8SHqdZC_AgAA__8nSWk8">