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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] No option to NOT insert space between function definition parameter list and block (new feature?)
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    Language: C

### Example:
`void foo() {`  **--reformat-->**  `void foo(){`

I prefer that function definitions (and **only** function definitions)  **not** have a space between the (closing paren of the) parameter list and the (opening curly brace of the) block, to visually differentiate them from other language constructs. There seems to be no way to do this with clang-format!

### Suggestion:
This option could be named something like DefinitionSpaceBeforeAttachedBrace and (if I'm not mistaken) would only apply when this config is set:
```
BreakBeforeBraces: Attach
```
or
```
BreakBeforeBraces: Custom
BraceWrapping:
 AfterFunction: false
```

Then I could add `DefinitionSpaceBeforeAttachedBrace: false` to my configuration and be happy!

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMVMGO4zYM_Rr5QiRw5CR2Dj4kMxtggGJ72AF6pi3KVkeWDIme1H9fyPHMbNsAXcBIYoV8j3yPFMZoOkdUi8NFHJ4znLj3oW68H1scOGu8muvf0HUTdiSKMzyJ_Fnk5_VTFvcHvv2Fw2hTxPrPMX_3RoH2XshKyBOI8iKOOYCQZyHPm00g7cOAvNmI4tv9EOA_afesnzlfYAykKQD3yKAn17LxDhRp40z6GUHICp1ambyz8wr_KDiVtkY6z2tgj-8ECHHElqAhvhE54J4Scmt9NK6DEQM58DqdJ5ARAw7EFMCayJAKWDP8SC5ltFOwMzQhgX7lNda3b0I-AXt4N3FCa2dQRmsK5NggU4ocQAc_gOc-Eax-QOtd5DC1HLfw2lMgiERDTFANgfNwwzm9KA_cmwg3wz20KX1zF1_I3WM_f0xdRzEp9Gnpa0Lw4yJg6yerFg4cSEH0A3GferTmjeD5U94fScFLcprOzNj2pC5L_3d_KqPhRchyAOcZBhMZ38glVW4LQfIOcBztDLd-scDE1LQ2HZgIkfjngVuf5fUSCN_uxAthTLN7L-FhvA-_DvM0RfbDRwC29EfAcTSu-ywGzpopXNdxSzkabaSHFB_ikoOXVVdUKm3C_8v4hXzMk8_DvKozBVx8SjI3BD2O4_zpdabqQp2KE2ZU746lLI55cZBZX1eS1K487kvdlFWVn06l3pWFol1VlVVFh8zUMpdyJ4s8zwtZyK3cFZrUQev8VCrKldjnNKCxW2vfh60PXWZinKg-nMr9PrPYkI0fV02oU9Cmmboo9nlamviVxobtcin9Y1oPz_Ddf8wge_j--ysYFynwv3b1waY_WtBl99IcOrqBJuQpkCiuQp6yKdi6Zx6T40Jehbx2hvup2bZ-EPKaCl2_NmPwf1LLQl6XZqOQ16XfvwMAAP__vqK0jg">