[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:40 PDT 2026


================
@@ -0,0 +1,35 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_READABILITY_REDUNDANTTAGCHECK_H
+#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_READABILITY_REDUNDANTTAGCHECK_H
+
+#include "../ClangTidyCheck.h"
+
+namespace clang::tidy::readability {
+
+class RedundantTagCheck : public ClangTidyCheck {
----------------
EugeneZelenko wrote:

Missing documentation and documentation link. See other checks as example.

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


More information about the cfe-commits mailing list