[libcxx] Avoid including deprecated ClangTidyModuleRegistry.h (#208945)
Deprecated in 1bcf74006b. Causes warnings
during compilation and will presumably become an error.
This commit is contained in:
1 parent
eb3275a0c3
commit
6bbd5a18f6
8 files changed
+46
-8
No files matched your search
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang-tidy/ClangTidyCheck.h"
|
||||
#include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
// TODO(LLVM 25): Remove this compatibility check when LLVM 25 branches.
|
||||
#if CLANG_VERSION_MAJOR > 23
|
||||
# include "clang-tidy/ClangTidyModule.h"
|
||||
#else
|
||||
# include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
#endif
|
||||
|
||||
#include "abi_tag_on_virtual.hpp"
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang-tidy/ClangTidyCheck.h"
|
||||
#include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
// TODO(LLVM 25): Remove this compatibility check when LLVM 25 branches.
|
||||
#if CLANG_VERSION_MAJOR > 23
|
||||
# include "clang-tidy/ClangTidyModule.h"
|
||||
#else
|
||||
# include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
#endif
|
||||
|
||||
#include "empty_namespaces.hpp"
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang-tidy/ClangTidyCheck.h"
|
||||
#include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
// TODO(LLVM 25): Remove this compatibility check when LLVM 25 branches.
|
||||
#if CLANG_VERSION_MAJOR > 23
|
||||
# include "clang-tidy/ClangTidyModule.h"
|
||||
#else
|
||||
# include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
#endif
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang-tidy/ClangTidyCheck.h"
|
||||
#include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
// TODO(LLVM 25): Remove this compatibility check when LLVM 25 branches.
|
||||
#if CLANG_VERSION_MAJOR > 23
|
||||
# include "clang-tidy/ClangTidyModule.h"
|
||||
#else
|
||||
# include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
#endif
|
||||
|
||||
#include "hide_from_abi.hpp"
|
||||
|
||||
|
||||
@@ -7,7 +7,10 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang-tidy/ClangTidyModule.h"
|
||||
#include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
// TODO(LLVM 25): Remove this compatibility check when LLVM 25 branches.
|
||||
#if CLANG_VERSION_MAJOR < 23
|
||||
# include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
#endif
|
||||
|
||||
#include "abi_tag_on_virtual.hpp"
|
||||
#include "empty_namespaces.hpp"
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang-tidy/ClangTidyCheck.h"
|
||||
#include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
// TODO(LLVM 25): Remove this compatibility check when LLVM 25 branches.
|
||||
#if CLANG_VERSION_MAJOR > 23
|
||||
# include "clang-tidy/ClangTidyModule.h"
|
||||
#else
|
||||
# include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
#endif
|
||||
|
||||
#include "robust_against_adl.hpp"
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang-tidy/ClangTidyCheck.h"
|
||||
#include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
// TODO(LLVM 25): Remove this compatibility check when LLVM 25 branches.
|
||||
#if CLANG_VERSION_MAJOR > 23
|
||||
# include "clang-tidy/ClangTidyModule.h"
|
||||
#else
|
||||
# include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
#endif
|
||||
#include "clang/ASTMatchers/ASTMatchers.h"
|
||||
#include "clang/Tooling/FixIt.h"
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang-tidy/ClangTidyCheck.h"
|
||||
#include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
// TODO(LLVM 25): Remove this compatibility check when LLVM 25 branches.
|
||||
#if CLANG_VERSION_MAJOR > 23
|
||||
# include "clang-tidy/ClangTidyModule.h"
|
||||
#else
|
||||
# include "clang-tidy/ClangTidyModuleRegistry.h"
|
||||
#endif
|
||||
|
||||
#include "uglify_attributes.hpp"
|
||||
#include "utilities.hpp"
|
||||
|
||||
Reference in new issue
Block a user