[clang] clang-format: Add AlignFunctionDeclarations attribute to AlignConsecutiveDeclarations (PR #108241)

Brad House via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 6 16:01:38 PDT 2024


================
@@ -48,46 +48,62 @@ template <> struct MappingTraits<FormatStyle::AlignConsecutiveStyle> {
                 FormatStyle::AlignConsecutiveStyle(
                     {/*Enabled=*/false, /*AcrossEmptyLines=*/false,
                      /*AcrossComments=*/false, /*AlignCompound=*/false,
-                     /*AlignFunctionPointers=*/false, /*PadOperators=*/true}));
+                     /*AlignFunctionDeclarations=*/true,
----------------
bradh352 wrote:

done

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


More information about the cfe-commits mailing list