<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/139376>139376</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] && wrongfully interpreted as Boolean operation
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
prj-
</td>
</tr>
</table>
<pre>
```
$ cat foo.cpp
template <class F, class... Args>
using invoke_result_t = typename std::result_of<F&& (Args &&...)>::type;
$ clang-format-20 foo.cpp
template <class F, class... Args>
using invoke_result_t = typename std::result_of<F && (Args && ...)>::type;
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy8UsGumzAQ_JrlYsUya0zg4ANJym88GViIXw1GtkmVv6-gidpK7fVJlmxrNbMzozEx2mkh0qAuoG6Z2dLdB72Gz1PW-eGpoRSvIxrAgvUmsdF73q8riCbRvDqTiIG89s7EyFrAKzuenHPWhCmC_Aai2aJdJmaXh_9OH4Hi5tJHYiBvLD1XWsxMLKYBZAOyeY39CPLaApaAJQOsdjL268s5B6x35gOwU4C8vCU6s0yn0YfZpBOKr5XL_qmX_V_wO99s0HKoZW0y0vm5KKtzXdVldte56Kt8lDWKaqilGgxWYlBUVKMUYy0xsxoFKqFykSMWquRKik6aAVXe0XjOFRSCZmMdd-4xcx-mzMa4kc5lLc9l5kxHLh4NQPwzPEDcOxH0jjt12xShEM7GFH8zJZvc0Z6_gOr2Nv4j-GUaN-eezC6Jwhoo0cBMZBfvHZmF-ZWCSdYv2Racvqe0xj0kbAHbyab71vHez4DtvvN1ndbgP6lPgO1hJQK2LzcPjT8DAAD__1EH3RE">