<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57972>57972</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Allow space after return type in template argument of std::function
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
marv
</td>
</tr>
</table>
<pre>
I'm trying to introduce clang-format to a codebase that formats `std::function`'s with a space inbetween the return type and the function parameters:
```
std::function<ReturnType (ArgType a)>
```
and `clang-format` wants to change this to
```
std::function<ReturnType(ArgType a)>
```
Is there an option to control that behaviour? Or would it be acceptable to add one?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydUk2PnDAM_TVwiXbEBBjgwGHa7Up7qlT1D5jEQKqQoHwMmn9fJ9NVu9oeqkoWsfPws5-dycr7-FrwbmPB3ZVZWLBMmeCsjAKZ0GCWp9m6DUJCgAkrcQKPLKx09UA8Ky6VD7Kor2RzNCIoa-iOeD07VFgp0e9AhMpMGA5EQ_nIHIboyL3vyMDIfPeWznZwsGFA5xNv9VxU10T5sBx-LFl__pYpvyfGgvdXt2QXCj4U9Ze_sqTCFPwplUJ2gCFhpFmsBCS9KoX_0cg_9vH4vvo0BZfmweyeB5F6sGkl-jH0CVe4KRtdUb-wr44dNmrJVAIYCIF7gEljXpeUzBqk_0ocz5dLc-Yd7_pSjrUc6gHKoILGsWg_vVPfPrOr1vb4tTOYaQnvdqXoxG3XEAh1S9zQBGZn9mEOZXR6XEPY8w75C9lCzyFOJ2E3CrS-vR1Pu7M_UAQKlfcRPTltN3S8XMe5agCaqerxjJMUbT_XXX_GC28GPveDLDVMqH0SUnBu8GCZgnzSUqqRV5xXA2_PXd3U_WkCIaXsmx5lh2KAoqlwA6VPqY-TdUvpxtzSFBdPoFY--N8geK8Wg3luiR9iWK0bN3C3Mtcdc98_AZGKE_E">