<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59722>59722</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[format] concept<T> && concept<T> is treated as an rvalue reference in an argument position.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
danakj
</td>
</tr>
</table>
<pre>
Clang-format turns a `&&` binary operator into an rvalue reference when it:
1. comes after a concept, and
2. is found in an argument position
```
macro(concept1<char>&& concept2<char>);
```
Should be:
```
macro(concept1<char> && concept2<char>);
```
it does the right thing with:
```
bool b = concept1<char> && concept2<char>;
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycUlFunDAQPY35GQXBAN7lg49k071Ae4EBD-DU2Ct7SJTbV7CbtFISqa00Gsue8Zv37Ecp2ckzd6p5UM1jRqvMIXaGPP18yvpgXruTIz_djSEuJCBr9AkIlC4U6i10Ab31FF8hXDiShAjWSwDyEJ_JrQyRR47sB4aXmT1YUdW9Kh5VcV_mMISFE9AoHIFgCH7giyg8AXkD1y7MwSYYw-oNWL8BU5zWhb3AJSQrNvhr4y3r4hb7dqEhBoXHG3SpqtMwU1TVt6uAt5n4Z6FV1cOnaNf8fQ6rM9Dzu5K_Hgr_P9UKmMAJZGaIdpoFZLZ-ghcr81dE-hAc9KCqR_gnLh-IZKarTFu1lHFX6gOWWje6zOauqYtx7InMeKzKY3ukUZdFqzU3bTXwqDPbYYFYIh7KY411mbc81m3Rmp5MPx6wVXXBC1mXO_e85CFOmU1p5a5pD4iZo55d2v2J6PkF9qJC3Owau-3OXb9OSdWFs0nSbxSx4nZjX72rmvc3UNXpx0f9b6c2gUQmYQOUPvXxFy7MszW6bha5pO0_8KzwPFmZ1z4fwqLwvFG7LXeXGJ54EIXnXVBSeN4F_woAAP__f6oRhQ">