<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58613>58613</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format bug
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
hros
</td>
</tr>
</table>
<pre>
The add_options function of boost::program_options overrides the () operator and expects the following multiline syntax:
po::options_description desc("Allowed options");
desc.add_options()
("help", "produce help message")
("compression", po::value(), "set compression level")
;
Clang-format merges the lines:
po::options_description desc("Allowed options");
desc.add_options()("help", "produce help message")(
"compression", po::value(), "set compression level");
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1ks-OpCAQxp9GL2QMIth64NA9m3mCvU8QSmWCYgB7Z95-yz-909dNdhMSKarqV199sfPmS5KfIxBlzLtfkvVzJP066-1GfE8672PKqiueJfghqOlPmb9DCNZAJAkBGWsy1hK_QFDJB6JmQ-BzAZ2OfO-d87_sPJBpdck6OwOJX3NSnxudXhd_TDnp78jVwe4B2e47n103CBhyVuELDs2qGwK2ouJpjUMQJo7OEdyyl7-iVIa7mFUD2V7JBDGqAU7Yo0H7aQmYQdbZ95B4V26FE3_gIiTyVE8c3MF983Z9eF6dmoeX3odJJZwahtO7zYz4f234Ow-werPhn3lQ3XKQZV3XF15yXuZGVqatWpUnmxxI_exLtw75GpwcU1p2U9gbnsGmce0KHICBc_fH5wW3-MCfDEMb44o2sjfR1GWVj5L3FC5CCM05a2ijaNt1fdPqttFdz_o6d6oDF2Umbpn4kVvJKGMlZYJVnNOyEO2lVpUSFadtLzRknMKkrCu2wYUPQx7krgElR0w6G1P8Tir0YZgBHny1ptEHOQYf812r3IX-BogRHiY">