[clang-tools-extra] [clang-tidy] Add AllowExplicitReferencedInitialValues to `readability-enum-initial-value` (PR #189459)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 11 22:34:02 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>
================
@@ -92,3 +92,20 @@ Options
g0 = 1, // Not allowed if AllowExplicitSequentialInitialValues is false.
g1 = 2,
g2 = 3,
+ };
+
+.. option:: AllowExplicitReferencedInitialValues
----------------
zwuis wrote:
How about
```suggestion
.. option:: AllowReferencedInitialValues
```
https://github.com/llvm/llvm-project/pull/189459
More information about the cfe-commits
mailing list