<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/125465>125465</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Lack of space after 'not' operator since clang-format-19
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format,
regression:19
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
PiotrZSL
</td>
</tr>
</table>
<pre>
Change #90161 broke following code:
```
namespace cc { bool get(); }
bool ret() { return not ::cc::get(); }
```
Now is being formated as:
```
namespace cc { bool get(); }
bool ret() { return not::cc::get(); }
```
Space between `not` and `::` is missing.
Setting `SpaceAfterLogicalNot` adds space, but also adds space in `! ::cc::get` constructions.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy0kk2L2zAQhn_N-DIkyOP46-BDdkNOy1LYW2-yNHbUlaUgybv03xc5KU1hLz0UBMIjz_POxytjNLNjHqB-gvpUyDVdfBi-GZ_C97eXYvT65_B8kW5mBKp6UTYljsG_M07eWv9p3IzKa4bqCGI7jbgfcXRy4XiVilEphPYJR-8tzpyAOqAeqieE9nTL257C76ft78BpDQ6dT5jx1VGp2_0V4UEWxPHVf6KJOHKub_JhkYk1yvh_y_zXKt820ZHTJ7NDaERmNAKl0_nrhskBE3ExMRo373Map5T7gkZshOOUOLz42ShpX-8ErSNuPQE947gmlDb6hzCaTRCo_GK2jUDlXUxhVcl4F_eFHirdV70seCjbqqubltquuAx1I4iniXpB3djqqmI6jGPHeupF1_ZTYQYSVAsSlWipLLu9EpoFi75hLSddCjgIXqSxe2s_lr0Pc2FiXHkoqT40dWHlyDZu9iRSVrp5d1snEAE9A1HgOXCMxjuojmWf4_WpCEPm7cZ1jnAQ1sQU_ygkk-xm-b-A9QlfpHpHP91HJPNcEajNa6EW_ZWDTD5gNC6b5SF5V_bFGuxwSem6mYzOQOfZpMs67pVfgM5Z_X7trsH_YJWAzluzEeh87_djoF8BAAD__0clEPQ">