Issue 58115
Summary [clang-format] Add an option that dictates how alternative-token operators are spelt
Labels clang-format, new-feature
Assignees
Reporter cjdb
    Some C++ programmers use alternative tokens instead of symbol tokens. We should have a way to ensure that the tokens can be checked.

```yaml
LogicalOperatorSpelling: Symbol|Words|AsIs|Custom
  LogicalAndSpelling: Symbol|Word|AsIs
  LogicalOrSpelling: Symbol|Word|AsIs
  LogicalNotSpelling: Symbol|Word|AsIs
```
There should also be equivalents for bitwise operators and compound operators.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to