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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] SpaceAfterCStyleCast doesn't work with braced initializer list
        </td>
    </tr>

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

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

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

<pre>
    ```c
struct pos pos_minus(const struct pos pt) {
    return (struct pos){.x=-pt.x, .y=-pt.y};
}
``` 

Is the result given this config file, while the option would suggest that there should be a space between the `)` and `{`:

```yaml
---
BasedOnStyle:    LLVM
IndentWidth: 4
UseCRLF:         false
UseTab:          Never
---
Language: Cpp
PointerAlignment: Right
AllowShortEnumsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
InsertBraces: true
AllowShortFunctionsOnASingleLine: None
SpaceAfterCStyleCast: true
...
```

```bash
$ clang-format --version
clang-format version 17.0.6
````
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsVE2PozgQ_TXmUgKBIQEOHPKxkVrK7qwm-3FcGSjAu46N7CLpzK9fGZjpdE9Hwdj1ql49-8kI52SvESu22bPNMRATDcZWu5v-9hrUpn1UbBsv_4bFRxbvHNmpIRiN888_V6knx3jRGO0InkFivASW75cyAACLNFkNjBdveYyXLN9Hryw9hiNFr4wfIHqsqwfLjyxdGfx8mXxXBOt6Hl8c0IBg0U2KoJc31ECDdNAY3ckeOqnQk98HqXBONSNJo-FuJtWCm_oeHQENwg9oEdwwIzWCADeKBqFGuuPMi-Al8NKrELqdV_nej-nuWdUPrQ9xVUsoDMNlshcO2y_6Qg-FLJ1P6Hz-69d1O7pFTX_LlgaPZUv0T4eHr-fTmj3_OqEc_kD_EPUzCL_hDe2Hvmeh-0n0c8_DOC7B343UhHanZK-vqMmDX2U_0ALvlDL3y2As_aKnq_uidxepe4VnqWeeJxVvqS_dhQShp_u54knZi3ZoaW9Fg85DZKefuE6TbrxdnxAZvWZfvEm7jtAe5kM9CEfv-aIo-uDLp2bVwg1riGfQKKH7sDP2KgjC8IbWSaMX_B22IpDkURxtPzbaxkFbpW2ZliLAKsmTokiKjGfBUPE6LrJ82yV5wfOyS7Z1kaSbTc6TLhVZKQJZ8Zhn8TYpkzxNsyzq4npTN1nWllnRijJjWYxXIVWk1O0aGdsH0rkJq3Ibl9tAiRqVm-8458-SGef-1tvKl4X11DuWxUo6cm9EJEnN34d3hZsjfHbc0Bp0mvGc4G7sf3CXNEDtnW1BaklSKPkNLfgewWRVNRCN3nTGT4yfeknDVEeNuTJ-8grWVzha8y82xPhp3pdj_LRs7Vbx_wMAAP__rFV0hQ">