<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62055>62055</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Regression in clang-format-17
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
prj-
</td>
</tr>
</table>
<pre>
```console
$ cat source.h
template <bool other_is_const_it, util::enable_if_t<is_const_it && !other_is_const_it> * = nullptr>
table_iterator(const table_iterator<other_is_const_it> &other) noexcept : table_iterator(other.map_, other.it_)
{
}
$ clang-format --style=file:clang-format.txt source.h > 16.h
$ clang-format --version
clang-format version 16.0.1
$ clang-format-17 --style=file:clang-format.txt source.h > 17.h
$ clang-format-17 --version
Debian clang-format version 17.0.0 (++20230404111547+e45523cd218f-1~exp1~20230404111707.1206)
$ diff -Naur 16.h 17.h
--- 16.h 2023-04-11 07:20:48
+++ 17.h 2023-04-11 07:21:17
@@ -1,4 +1,4 @@
-template <bool other_is_const_it, util::enable_if_t<is_const_it && !other_is_const_it> * = nullptr>
+template <bool other_is_const_it, util::enable_if_t<is_const_it &&!other_is_const_it> * = nullptr>
table_iterator(const table_iterator<other_is_const_it> &other) noexcept : table_iterator(other.map_, other.it_)
{
}
```
[clang-format.txt](https://github.com/llvm/llvm-project/files/11196867/clang-format.txt) is attached.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzEVcuO4ygU_ZrrDbIFF_xaeGEnleUs5gciYl_HtIhtGdxTvelvH_mRqXTStShppJaQgPs4HI50QDtnrj1RAXEF8THQs--GqRinb2FwGZofBSR8G_XQu8ES8CPwElCxWnvmhnmqKerYFvZ0G632xEAeLsNg2eA7ms7GnZdufzYe8MBmbyzIEmRJvb5YOpv27EEeHsoYYAKYMEDxCiHfGGDJQB5ZP1s7-gnk205gw_M0aT9MgNnaxJ7C8vAJaLLGAXPWD_Re0-gZyPK5HbO1LLrp8bzcZ9sZfwbMd3nS6r44PghmdX8N22G6ac_C0PkflkAeW7NM5WM28u-P2so3JpKo-xTpO03ODP2W_yW3Z5Z2HonfA4Qi_TKb9DM2G9gvhI50Mbpnv-eVRjziDDADrAAr5Ci54koIEasUsCIVxyjrBkXWhuInvY_i50NRytNIIE8-lEfFGtO2LPxLz9Mq2wPbMAx3JfMFJOQqFILxFGSJHGSpsjtKtY2997VagCxFulcrDoqzUAAeFAOs9sUa3g_-484ArP5vDl-l8OqjP-NO9p892Yc_78_cvo2rZwdAfATMOu9Ht8iDJ8DT1fhuvkT1cAM8Wfv9PoXjNHyj2gOeFj85wJMQIk-yJAU8vSBjzoxj2ntdd9REQVPIJpe5DqgQSSZEzhPFg66QKk5Jp6R1KrIkJiEFxTqjtskQW64DU2zeEILHqDiPEpE3TRbXWKdcZ6kExemmjY0WltEwXQPj3ExFgjyOA6svZN36FSD29A9bk4C4_AxTsd7sMl8dKG6N8-4DxRtvqfibrhO51dimf34WgnmyxZflWxks-q0M_w0AAP__aNYMYQ">