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

    <tr>
        <th>Summary</th>
        <td>
            Strange formatting with braced-initialisation
        </td>
    </tr>

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

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

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

<pre>
    Given
```cpp
return debug_utils{
  .messenger_ = {
    func(instance, create_info, allocator, messenger),
    deleter{
      instance,
 allocator,
    }
  },
};
```

I get:

```cpp
return debug_utils{
  .messenger_ =
 {func(instance, create_info, allocator, messenger),
 deleter{
                 instance,
                 allocator,
 }},
};
```

Given:
```cpp
return debug_utils{
  messenger,
  deleter{
    instance,
 allocator,
  },
};
```

I get:
```cpp
return debug_utils{
  messenger,
  deleter{
          instance, allocator,
 },
};
```
[clang-format.txt](https://github.com/llvm/llvm-project/files/12650193/clang-format.txt)

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0lM-OmzAQxp9muFiLzPAvPnDYbETVcx8gMmYgXjkmss22ffsKSDZ0k0q73dZC4Bnjj29-gyy9170lqiDfQr6L5BgOg6vUc9tEzdD-rL7oF7LAd8AfoeDLpU6nJeMojM6ylpqx349BGw_ldlliLD6S92R7cnsG6Y6tlhjrRqsAN9r6IK0iwCemHMlAe227YQqlMYOSYXBT8CoFKACfrjotGQrkftNmbCV7Tq_Vrm9CubsE0_SyNM3T7Zuiz-F8_8p6CpA-rnOfo3NOQ7n9J2TuY1mNW0Jvxx1iE5ePYFr-nfTvAK0Ke7V4r6z39foz7f0_vm_68Cfi77Gdb5WRtn_oBneUIQ4_AuQ7wM0hhJOfKsEasO51OIxNrIYjYG3My-XxcHLDM6kAWHfakAesEyxynogUsL5RRrF8NWqrtBWpkBFVSSFynmOOIjpUWSa6TPFGbJKWc0oSqdIUM7nBrqSyySJdIceUi2ST5HmOIhZZJyVX80ZJJYeM01FqE0_24sH1kfZ-pKooioJHRjZk_HxkIa7tAeJ0iLlqrqoZew8ZN9oHfxUKOhiqvgUnbU9s2Re07dl3HQ6scVJR-6CtDloa7WXQg41GZ6oPo5wdTyxn078CAAD__5QGibI">