1 //===--- ClangTidyModuleRegistry.h - clang-tidy -----------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H
10 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H
12 #include "ClangTidyModule.h"
13 #include "llvm/Support/Registry.h"
15 namespace clang::tidy
{
17 using ClangTidyModuleRegistry
= llvm::Registry
<ClangTidyModule
>;
19 } // namespace clang::tidy
22 extern template class Registry
<clang::tidy::ClangTidyModule
>;
25 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H