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

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 31 14:46:50 PDT 2025


================
@@ -1093,6 +1104,7 @@ template <> struct MappingTraits<FormatStyle> {
     IO.mapOptional("InsertBraces", Style.InsertBraces);
     IO.mapOptional("InsertNewlineAtEOF", Style.InsertNewlineAtEOF);
     IO.mapOptional("InsertTrailingCommas", Style.InsertTrailingCommas);
+    IO.mapOptional("NumericLiteralCase", Style.NumericLiteralCase);
----------------
HazardyKnusperkeks wrote:

Sort

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


More information about the cfe-commits mailing list