clang-tools 20.0.0git
ClangTidyModuleRegistry.h
Go to the documentation of this file.
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
15namespace clang::tidy {
16
17using ClangTidyModuleRegistry = llvm::Registry<ClangTidyModule>;
18
19} // namespace clang::tidy
20
21namespace llvm {
22extern template class Registry<clang::tidy::ClangTidyModule>;
23} // namespace llvm
24
25#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H
llvm::Registry< ClangTidyModule > ClangTidyModuleRegistry
Some operations such as code completion produce a set of candidates.
Definition: Generators.h:58