Issue 133873
Summary [clang-format] Incorrect spacing with bitwise XOR and brace initialization
Labels clang-format
Assignees
Reporter carlosgalvezp
    Example input:

```cpp
lhs ^ Byte{rhs};
lhs & Byte{rhs};
lhs | Byte{rhs};
```

clang-format output with default settings:

```cpp
lhs ^ Byte { rhs };
//        ^ ^   ^
lhs &Byte{rhs};
lhs | Byte{rhs};
```

[Godbolt](https://godbolt.org/z/rd3c7Es6T)

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to