Issue 125465
Summary [clang-format] Lack of space after 'not' operator since clang-format-19
Labels clang-format, regression:19
Assignees
Reporter PiotrZSL
    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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to