[clang-tools-extra] [clang-tidy] Improve readability-enum-initial-value diagnostic message (PR #176485)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 16 22:18:55 PST 2026


================
@@ -113,6 +113,12 @@ Changes in existing checks
   <clang-tidy/checks/performance/move-const-arg>` check by avoiding false
   positives on trivially copyable types with a non-public copy constructor.
 
+- Improved :doc:`readability-enum-initial-value
+  <clang-tidy/checks/readability/enum-initial-value>` check:
+
+  - The warning message now lists which enumerators are not initialized, making
----------------
vbvictor wrote:

Yes, I only added list in `const-correctness` because we already have another PR for it and we will need a list anyway.

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


More information about the cfe-commits mailing list