[clang] [clang-format] Add an option to format integer and float literal case (PR #151590)

via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 11 09:30:21 PDT 2025


owenca wrote:

> Cool, thanks for hearing me out! I am working on handling `NumericLiteralCase` in the same pass as `IntegerLiteralSeparatorFixer`; that seemed natural since they both only modify single `numeric_constant` tokens. I won't have time to get to it until next week.

I'd handle `NumericLiteralCase` in a non-optional pass instead.

https://github.com/llvm/llvm-project/pull/151590


More information about the cfe-commits mailing list