[clang] [clang-format] Add AlignConsecutiveEnums (PR #194154)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Sat May 9 13:52:20 PDT 2026
================
@@ -236,6 +236,16 @@ struct FormatStyle {
/// int (*f)();
/// \endcode
bool AlignFunctionPointers;
+ /// Only for ``AlignConsecutiveAssignments``. Whether enum assignments are
+ /// aligned.
----------------
HazardyKnusperkeks wrote:
This need to better explain:
* It is actually considered, even if `Enabled` is `false`.
* It's not necessary to set this, if left out but `Enabled` is set, this will also apply.
* It can not deactivate aligning the enum equals, even if set to `false`.
https://github.com/llvm/llvm-project/pull/194154
More information about the cfe-commits
mailing list