================
@@ -226,6 +226,20 @@ struct FormatStyle {
/// bbb = 2;
/// \endcode
bool AlignCompound;
+ /// Only for ``AlignConsecutiveDeclarations``. Whether non-member variable
+ /// declarations are aligned.
+ /// \code
+ /// true:
+ /// unsigned int v1;
+ /// float v2;
+ /// size_t v3;
+ ///
+ /// false:
+ /// unsigned int v1;
+ /// float v2;
+ /// size_t v3;
+ /// \endcode
+ bool AlignFreeVariableDeclarations;
----------------
gedare wrote:
I would remove `Declarations` and use `AlignFreeVariables`
https://github.com/llvm/llvm-project/pull/160270
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits