[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 25 23:10:06 PDT 2025


================
@@ -4001,8 +4030,8 @@ reformat(const FormatStyle &Style, StringRef Code,
 
   if (Style.QualifierAlignment != FormatStyle::QAS_Leave) {
     // Don't make replacements that replace nothing. QualifierAlignment can
-    // produce them if one of its early passes changes e.g. `const volatile` to
-    // `volatile const` and then a later pass changes it back again.
+    // produce them if one of its early passes changes e.g. `const volatile`
+    // to `volatile const` and then a later pass changes it back again.
----------------
owenca wrote:

Please undo.

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


More information about the cfe-commits mailing list