<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55898>55898</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Format] Always line break on negated rhs in concept
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JohelEGP
</td>
</tr>
</table>
<pre>
No `.clang-format`.
Input and expected output:
```C++
template <class T>
concept base_unit = unit<T> and not specialization_of<T, derived_unit>;
```
Actual output:
```C++
template <class T>
concept base_unit = unit<T> and not
specialization_of<T, derived_unit>;
```
Parenthesizing the rhs results in no extra line break:
```C++
template <class T>
concept base_unit = unit<T> and not(specialization_of<T, derived_unit>);
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9UstunTAQ_RrYWEFcgx1YsLivRO2iyqL7qwEGcOtrI3ucNvn6GkjUKNl0UUUa2fM49pyjmdb2T803yxKZZ50GM94M1l2BljjJT0m-384vZg7EwPQMf8_YEfbMBoq5pHhBxBebHRN-WGzNEl5nDYQsKY7xf-_Z96Q4b7XOmg5nYi14vASjKIJObHEieIGt_Ywl5mNLBVo9AylrLnZYAfzIenTqEfvL9uicFId3ZN5q2HcUQH8i7w3-f8g_gENDE3r1rMzIosfc5JlDHzR5pkxsGGdDDphWBlnrEH5-ikhe_bNCXn8UmfZN0ddFDSkp0tgk4nC3raA4sb3-BU_-jSJmo1AcYVnARX_U_cI0DU43E9HsF9X8LtqoaApt1tlrDLR-fL1uZmd_xCWOofI-oI-OEFVdpVNTy1rwruN5X3I53KIob8tqV4GQg6wLgamGFrVfaEaCqWp4znkuc7kTueQyG0ohuwFA7mQrh75IyhyvoHS2NM6sG1PXrBzaMPpY1MqT_1uMQ1CjQXz9HwJN1jVf7YT6fP-QrnyblewfzDkkMA">