[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.
+    /// \code
----------------
HazardyKnusperkeks wrote:

I think we can drop the example, to not bloat the doc more.

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


More information about the cfe-commits mailing list