26 lines · c
1//===----------------------------------------------------------------------===//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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H10#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H11 12#include "ClangTidyModule.h"13#include "llvm/Support/Registry.h"14 15namespace clang::tidy {16 17using ClangTidyModuleRegistry = llvm::Registry<ClangTidyModule>;18 19} // namespace clang::tidy20 21namespace llvm {22extern template class Registry<clang::tidy::ClangTidyModule>;23} // namespace llvm24 25#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H26