<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56249>56249</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format on .c files incorrectly turns "int delete();" into "int delete ();"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
sean-mcmanus
</td>
</tr>
</table>
<pre>
Use clang-format test.c with
```c
int delete();
```
Bug: Output is incorrectly `int delete ();`. There should be no space before the `(`.
A similar issue recently got fixed with clang-format 14: https://github.com/llvm/llvm-project/issues/25697
Originally reported at https://github.com/microsoft/vscode-cpptools/issues/9336
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydks2OmzAQx58GLlaQMYTAgUOiVa97aR_A2BNwZWzkGW-7b98h21WSquqhkmVmNB-__4yZon0fvyEI43WYD9eYVk2CAKky4oejpZAvhTz_vjv5ccyH7wIJCx4ICtUXaiiayx-Jj9WXPBfNWbxm2jIJh8IFE1MCQ_5dcO69m7i362Qlvi6QQOASs7diAhGiwE0bYJv1gqAF9vq9iNMfkWeBbnVeJ8ZhBsEwCDtujiSu7ifY24zPw9ftLnMh2pCNQn3hM3NWnioTV3a8f_v8HLYUv_ME7N4IyIY6dsPpUcVrcrML2jM3wRYTMZY5_yCszqSI8br3fUMTLRzMtlGMHh9JQ9N0pR0bOzSDLsmRh_FplBgEP-PVeXjeNuUUkLes_vaCSnEuxeeweIyXOfnx_xd07FQ7lMsIp25o4HSqzaSaeuitttb2U83Rurm2pvR6Ao9jcbwUx5fSjUoqJTt1qvu6a2XVS2nMpCf-FZreSlW0ElbtfLWDq5jmMo03DVOekYPeIeE9qBHdHAA---tMS0wjgg6H1aw6ZCxvmseb4F8s1f6d">