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

via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 18 01:03:10 PDT 2024


================
@@ -409,6 +409,21 @@ the configuration (without a prefix: ``Auto``).
       int     *p;
       int (*f)();
 
+  * ``bool AlignFunctionDeclarations`` Only for ``AlignConsecutiveDeclarations``. Whether function declarations
----------------
mydeveloperday wrote:

I sometimes wonder when we extend an option if we shouldn't also add the /version to that option so people know from which version of clang-format it was added

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


More information about the cfe-commits mailing list