<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57280>57280</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format: Consider one statement per line for chained bool equalities
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
aeubanks
</td>
</tr>
</table>
<pre>
```
bool f() {
return display_id == other.display_id &&
parent_display_id == other.parent_display_id &&
position == other.position && offset == other.offset &&
offset_reference == other.offset_reference;
}
```
personal preference, but it's easy to miss that the third line actually has two equalities
feel free to close if you disagree/not worth the effort
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx1UsGSmzAM_Rpz0WwGTALk4MPuZvIbGYEFuHUwtUV38vdVSLbZ7aSMELakJz1JtMFejKryu-QHlb-2IXjolW6U3oOq325WgEi8xAmsS7PHy8lZUOVBBAKPFDdf7bq6yh13f2aMNPHpf_An7qdZQnLswvQP-K91xUDo-0T8PebT9izrzXeK1JOw6OgZ8uFV5X0mqj7cD98neNMzxRQm9DA_kPod2oXBsdJ1AsJ0AQ5wdikBj8iiSF4XLXg3EWDHC3p_gREl4CMA_ZK7tErpa6WeSDYWia7JOh8SgevhEpbrsnAQh9LHKTB8hMjjWoT6Xs4ZmaKqCp0X-a7OrCntvtxjxo49mc7jNLxI2BlZla_wHqbkLEUIwiwxMp1lYyBt3shKJHQjytHC-g89yGZL9GZknpMkEi4ig-NxaTddOMvF-9-fn5c5hh_UyYCOMpVFGtXHXa2bPBsNNaQb2xeFtVWOZYddU9R7KlpqqwptkXlsySejdm9K62_8tVa7Q-aMzrXOGy1quy3qTWV12Wz3WNVdJeZcbXM6o_ObK5VNiEMWzcqqXYYkTu8Sp4cTU3LDRLRWlPy48BiiQVpanH6mbO3ArPT_AD3bFDw">