<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/74321>74321</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format]: Bug in AlignArrayOfStructures: Left -- first member only
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
bradh352
</td>
</tr>
</table>
<pre>
We recently started using clang-format in the c-ares project: https://github.com/c-ares/c-ares/blob/main/.clang-format
Tested on clang-format 17.0.2
For some reason, there is a missing space before the first element in the array, but all subsequent elements are proper.
Examples here:
* https://github.com/c-ares/c-ares/blob/main/src/lib/ares_platform.c#L104
* https://github.com/c-ares/c-ares/blob/main/src/lib/ares_dns_mapping.c#L609
* https://github.com/c-ares/c-ares/blob/main/src/lib/ares_dns_mapping.c#L639
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8UzGvnDwQ_DWmsQ6ZNdx9FBT3vheqJ6VIpJRPa1g4R8YmXhPl_n1k7iW5a9JESQMIj3d2RjPIbGdP1InmSTTPBW7pEmJnIo4X3UBhwnjtPpGMNJBP7io5YUw0yo2tn-Xg0M-HKcQFk7RepgvJ4YCRWK4xfKYhCX2Wl5RWFvosoBfQzzZdNlMOYRHQ38D3H8YFI6Bf0HoBfXnPINSzUOfb8yNxXiP4xx2qU6lKuAf2IUoOS5aAHLyA__OWkaRliXKxvAvhFQeShqYQaVcx2chJkqOF_E9pGCNe8wSzJYnOSd4M05ctQ96gLDFSFr9SLO_3ePcNl9URy0yezbidwR_Zw3EQ0Dubf2XA6-owZSvKQYB-qVT9d2hGz68Lrqv1843pqNp_xaTbYuz02OoWC-qqk6qO7X9QnYpLd4QBJjVMgKptDGrTwDiObaMUAdRNXdgOFOgKVF3p5ticyrbRE5hj1VZINZhW1IoWtK507utShjgXlnmj7lRrqAqHhhzvXQF4SCZAbk_s8rWD2WYWtXKWE_8alGxye88eLjbPuSFP25wzdnZ29uccsvfThxS3IW3ZJH2WLzQleTi8xXKhxVCUwbtrsUXX_cbwTP_2OvyoJPS7qOz-rut7AAAA___ZVUpS">