<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58823>58823</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Inconsistent structure formatting
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MaJerle
</td>
</tr>
</table>
<pre>
Why does it generate like that?
```c
/**
* \brief Dictionary data for SDO communication
*/
static const lwc_dic_obj_t dic_objects[] = {
{.index = LWC_SDO_INDEX_DEVICE_TYPE,
.max_subindex = 0,
.data_type = LWC_DIC_DATA_TYPE_VAR,
.desc_obj = &dic_descs.device_type},
{.index = LWC_SDO_INDEX_MANUF_NAME,
.max_subindex = 0,
.data_type = LWC_DIC_DATA_TYPE_VAR,
.desc_obj = &dic_descs.manuf_name},
{
.index = LWC_SDO_INDEX_DEVICE_NAME,
.max_subindex = 0,
.data_type = LWC_DIC_DATA_TYPE_VAR,
.desc_obj = &dic_descs.device_name,
},
{
.index = LWC_SDO_INDEX_HW_VERSION,
.max_subindex = 0,
.data_type = LWC_DIC_DATA_TYPE_VAR,
.desc_obj = &dic_descs.hw_version,
},
};
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzNVN-TmjAQ_mvCS-YcDKDywAMnOrVTvc7dVdunTAgrpIXgJEHP_74J2tqzv27upc0ksMtmv3wfmd28LY7JpjriogWNhcElSFDMAK7FF8CmYgYFc-RnyE_Pz5F_mvzskzkiqZu9i62FUTTNlYAtvoxMcCNayZQ9ihmGt63CD9kd5m3TdFJw5qIXCIfaO9rYCLfbpDa4PnBaCE7b_DM1-GwBNxpFtyjKMArsGt-eYeywzkDIAp760LvNlNoz6WKVzT7SbLZeTGf08dP7GSLTSw4eNOyJ6i6_JPpXG5wCao47-A6bLexKH9Mejq7T--sM0D3ZE0UyctzdN20je8GhR0Pj7Fnan9gv09WHOV2ly39KvmGy21LJml9x_wHCofzlHn6W8hI1rxL0ogvpRT1X9FqFbzZ0Pbt_WNyt_guB1YHuQWlXb7_T5-zg9qrgPUiGo9F45BM_IF6RBEUcxMwzwtSQ2ArkNZPljS3sxjYNW40L6apWaAPSYG1Ux02nAJ82GCFLr1N1Uhmz0yg49ZF5KUzV5QPbFaxT1_tvr5udal2lW1do3YG2RjSZkMCrkjCM8zgnRUjiIAriLQ8LEo_ziA-LydYur2Y51NpRRIRIOOAewtqWpScS4hMyHPohIeF4SAZ8GPE49sMIxpAXoy0KfWiYqAeOx6BVpaeSnlLeldoGa6tQX4JMa1FK6P-Iw2edqVqVLNlbUDV4_dFJT_0ral6QVg">