================
@@ -395,10 +395,16 @@ infrastructure are described first, followed by 
tool-specific sections.
   `lifetimebound` attribute.
 
 - Improved {doc}`readability-enum-initial-value
-  <clang-tidy/checks/readability/enum-initial-value>` check by adding
-  the {option}`AllowReferencedInitialValues` to support the
-  `INT09-C-EX1` exception, allowing enumerators initialized by referencing
-  another enumerator in the same enum (e.g., `last = first`).
+  <clang-tidy/checks/readability/enum-initial-value>` check:
+
+  - Added the {option}`AllowReferencedInitialValues` to support the
+    `INT09-C-EX1` exception, allowing enumerators initialized by referencing
+    another enumerator in the same enum (e.g., `last = first`).
+
+  - Added the {option}`AllowConsecutiveInitialValuesExceptLast`, allowing
+    enums where all but the last enumerator are explicitly initialized with
+    consecutive integer literal values and the last enumerator's value is
----------------
zeyi2 wrote:

Same here :)

https://github.com/llvm/llvm-project/pull/228399
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to