https://github.com/zwuis created https://github.com/llvm/llvm-project/pull/215055
Close #173414. >From 10f6ddd504a8581b2788b54b42aea411e41b48b2 Mon Sep 17 00:00:00 2001 From: Yanzuo Liu <[email protected]> Date: Sun, 9 Aug 2026 12:34:37 +0800 Subject: [PATCH] Remove deprecated `ClangTidyModuleRegistry.h` --- .../clang-tidy/ClangTidyModuleRegistry.h | 21 ------------------- clang-tools-extra/docs/ReleaseNotes.md | 4 ++++ 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 clang-tools-extra/clang-tidy/ClangTidyModuleRegistry.h diff --git a/clang-tools-extra/clang-tidy/ClangTidyModuleRegistry.h b/clang-tools-extra/clang-tidy/ClangTidyModuleRegistry.h deleted file mode 100644 index 39aecd955ef73..0000000000000 --- a/clang-tools-extra/clang-tidy/ClangTidyModuleRegistry.h +++ /dev/null @@ -1,21 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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_CLANGTIDYMODULEREGISTRY_H -#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H - -// NOLINTBEGIN - -// TODO(LLVM 24) Delete this header. -#warning The ClangTidyModuleRegistry.h header is deprecated and will be removed in LLVM 24. All of the symbols it used to define have been moved into ClangTidyModule.h. - -#include "ClangTidyModule.h" - -// NOLINTEND - -#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H diff --git a/clang-tools-extra/docs/ReleaseNotes.md b/clang-tools-extra/docs/ReleaseNotes.md index 5ded07934d906..a2183a7cefbd3 100644 --- a/clang-tools-extra/docs/ReleaseNotes.md +++ b/clang-tools-extra/docs/ReleaseNotes.md @@ -56,6 +56,10 @@ infrastructure are described first, followed by tool-specific sections. ### Potentially Breaking Changes +- In LLVM22, The `clang-tidy/ClangTidyModuleRegistry.h` header was deprecated. + All of the symbols it used to define were moved into `clang-tidy/ClangTidyModule.h`. + The deprecated header has been removed in this release. + ### Improvements to clangd #### Inlay hints _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
