[clang-tools-extra] [clang-tidy] Add `readability-redundant-tag` check (PR #210007)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 17 07:52:41 PDT 2026


================
@@ -97,6 +97,13 @@ Improvements to clang-tidy
 New checks
 ^^^^^^^^^^
 
+- New :doc:`readability-redundant-tag
+  <clang-tidy/checks/readability/redundant-tag>` check.
+
+  Finds redundant uses of ``class``, ``struct``, ``union``, and ``enum``
----------------
EugeneZelenko wrote:

Please synchronize with first statement in documentation.

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


More information about the cfe-commits mailing list