<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/85525>85525</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] No option to add space in empty list
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
HermesonBF
</td>
</tr>
</table>
<pre>
There should be an option to force a space inside init list, for example:
```
var List = new string[] {}; // there is no option to force a space between these brackets, the formatter always removes the space
void Method() { } // can be controlled used SpaceInEmptyBlock: true
```
The same happens in "std::list\<std::string\> List{};"
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0kt9unDoQh59muBllBWMM4YKL7G5W50htb5oXMHgCboyNbLNp3r4y-dNUaiVkCxgPH9_8VIxmcsw9yCPIc6G2NPvQ_8dh4ejd8VIMXr_0DzMHxjj7zWocGJVDvybjHSaPjz6MjArjqkZG46LReTMJrYkJ6JQrkH-qZbUM4g7KM5Tva1O-XfvtVQX8YmJCEGd0_IwxBeOmVziE9gjtGcQRgS5AF0w7lono_D95Bk7PzC7XRsYhqPGJU8xUaeZcu6iUOKCyz-olYuDFXznuL_cGn2mv3mj8ymn2GugWqMtICO35HWhULusZvUvBW8sat8gav-dG_7v7ZU0vR-vHJxB3mMLGf5Xwuj5kALUwzmpd2UU0DoEoJp0VirvdrTyBOH08epd1AnG_a_wQBkSF7oXuRKcK7qu2KmXXUF0Vc99KZhZ1VVEzck11x2Mzyq5q2krK-rEqTE8l1aWomkqItpKH-vZxGIi7ZqBBkO6gLnlRxh6svS4HH6bCxLhxfyslycKqgW3cA0Y0WuWmm1frQJQjF_p87GbYpgh1mX8r_m6UTLJ7OP84KM_47fPEldYf6UPOlvfoFVuw_ZzSGrOffUKTSfM2HEa_AF3yV962mzX4HzwmoMvOHoEuO_6vAAAA___WwfrD">