[clang-tools-extra] [clang-tidy] Add AllowExplicitReferencedInitialValues to `readability-enum-initial-value` (PR #189459)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 10 23:31:37 PDT 2026
=?utf-8?q?Björn?= Svensson <bjorn.a.svensson at est.tech>,
=?utf-8?q?Björn?= Svensson <bjorn.a.svensson at est.tech>,
=?utf-8?q?Björn?= Svensson <bjorn.a.svensson at est.tech>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/189459 at github.com>
================
@@ -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
----------------
vbvictor wrote:
This must be in sync with first sentence in .rst docs.
Do this really a fourth type thougth? I guess its only an exception to the existing styles so don't need to change this. WDYT?
https://github.com/llvm/llvm-project/pull/189459
More information about the cfe-commits
mailing list