Issue 184639
Summary `IntegerLiteralSeparator` ignores `OneLineFormatOffRegex`
Labels new issue
Assignees
Reporter bersbersbers
    On Windows:
```
$ (echo      x = 123; // NOMOD && echo      x = 1234; // NOMOD) | clang-format --style="{OneLineFormatOffRegex: NOMOD, IntegerLiteralSeparator: {Decimal: 3}}"
     x = 123; // NOMOD
     x = 1'234; // NOMOD
```

Expected:
```
     x = 123; // NOMOD
     x = 1234; // NOMOD
```

```
$ clang-format --version
clang-format version 22.1.0 (https://github.com/llvm/llvm-project 4434dabb69916856b824f68a64b029c67175e532)
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to