Author: Yanzuo Liu Date: 2026-08-09T21:15:54+08:00 New Revision: c3278d53c4c7dc69cd652c07762d1aee776d5fe5
URL: https://github.com/llvm/llvm-project/commit/c3278d53c4c7dc69cd652c07762d1aee776d5fe5 DIFF: https://github.com/llvm/llvm-project/commit/c3278d53c4c7dc69cd652c07762d1aee776d5fe5.diff LOG: [clang-tidy] Remove deprecated `ClangTidyModuleRegistry.h` (#215055) Close #173414. Added: Modified: clang-tools-extra/docs/ReleaseNotes.md Removed: 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..ea262217f7fc2 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 22nd release, 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
