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

via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 18 16:38:17 PDT 2026


================
@@ -0,0 +1,59 @@
+.. title:: clang-tidy - readability-redundant-tag
+
+readability-redundant-tag
+=========================
+
+Finds redundant uses of the ``class``, ``struct``, ``union``, and ``enum``
+keywords in C++ declarations and provides fix-it hints to remove them.
----------------
EugeneZelenko wrote:

I don't think that `fix-it hints` should be stressed, `list.rst` entry should be enough. Same in Release Notes.

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


More information about the cfe-commits mailing list