[clang-tools-extra] [clang-tidy] Add AllowExplicitReferencedInitialValues to `readability-enum-initial-value` (PR #189459)

Björn Svensson via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 3 05:08:17 PDT 2026


================
@@ -13,8 +13,8 @@
 
 namespace clang::tidy::readability {
 
-/// Enforces consistent style for enumerators' initialization, covering three
-/// styles: none, first only, or all initialized explicitly.
+/// Enforces consistent style for enumerators' initialization, covering four
----------------
bjosv wrote:

Sounds fair. Reverted this change since this is an added exception.

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


More information about the cfe-commits mailing list