[clang] [clang-format] Add an option to format integer and float literal case (PR #151590)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 3 16:48:37 PDT 2025
owenca wrote:
I suggest `Prefix`, `HexDigit`, `ExponentLetter`, and `Suffix` for the sub-option names and `Leave`, `Lower`, and `Upper` for the enum values. For example:
```
NumericLiteralCase:
Prefix: Lower # 0x, 0b, etc.
HexDigit: Upper # ABCDEF
ExponentLetter: Lower # e and p
Suffix: Lower # ull, bf16, etc.
```
https://github.com/llvm/llvm-project/pull/151590
More information about the cfe-commits
mailing list