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

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 16 16:07:20 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
----------------
EugeneZelenko wrote:

Lists should be used for multiple changes in same check.

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


More information about the cfe-commits mailing list