xref: /llvm-project/clang-tools-extra/clang-tidy/ClangTidyModuleRegistry.h (revision b735c66da9c9ae752b88941d466895a0b696c75e)
1 //===--- ClangTidyModuleRegistry.h - clang-tidy -----------------*- C++ -*-===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H
10 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H
11 
12 #include "ClangTidyModule.h"
13 #include "llvm/Support/Registry.h"
14 
15 namespace clang::tidy {
16 
17 using ClangTidyModuleRegistry = llvm::Registry<ClangTidyModule>;
18 
19 } // namespace clang::tidy
20 
21 namespace llvm {
22 extern template class Registry<clang::tidy::ClangTidyModule>;
23 } // namespace llvm
24 
25 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H
26