<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/75270>75270</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Feature Request] clang-format: clear blank of array elements.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
cathaysia
</td>
</tr>
</table>
<pre>
When I have such codes:
```cpp
NLOHMANN_JSON_SERIALIZE_ENUM(Alpha, {
{ A, "A" },
{ B, "B" },
{ C, "C" },
{ D, "D" },
});
```
then clang-format become as follows(in google style):
```cpp
NLOHMANN_JSON_SERIALIZE_ENUM(Alpha, {
{A, "A"},
{B, "B"},
{C, "C"},
{D, "D"},
});
```
this is not good enough. Can clang-format provide a option remove this blank? Or just I missing it?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0k9GLm0AQxv-a9WW4oLNRkwcfNJ405S4Hd5RCX45VR93r6trdNSX_fYlJaU44uJeK6DLzzbd8PxhhrWwHooSFGQtzT0yu0yaphOvEyUrhlbo-Jd87GmAPnTgS2KnqoNI1WcZT5ufM__uN_MtbjeOlcnh4-vKYHg6vX1-eDq8v98_79GH_4_71_vDtkeEmVWMnGO6Axdll4HyCdC4hpgwRWJwz3F27ALMguwqyjwS7q2D3kSC_CvKlYD5vGc8WkW5zujOMSomhvWu06YWDkirdEwgLjVZK_7YMN3KAVutWEVh3UjS7_g9ct7TeRWVxdgtqieEzD4uzW5RL-1uKi95nKEoL0sKg3RlUDTToqe1WsBMLuqPRR1kTCNCjk3oAQ70-EswOpRLDT8YLeDLwNlkHe-iltXJoQTrGC69OeL3lW-FREsQ-rnmw3cZel_CQIqKNaAIUVG3KhmO0DWr0hcCyRPRkgj7yAAPuB-uIxytsNmW1bjYRluE6ihq29qkXUq2UOvYrbVpPWjtREocY-54SJSk7rxXibZ4zrDD3THIeuyun1rK1r6R19p-Rk07NK1mQcJMheKZfE1nHwvwdG8ZTqBQJc-EAugFhjDgBKeppcHblTUYlnXPjvK1YMCxa6bqpXFW6Z1icr7z-7kaj36hyDIs5iGVYzFn-BAAA__-u8yJB">