clang-tools  3.8.0
ClangTidyModuleRegistry.h
Go to the documentation of this file.
1 //===--- ClangTidyModuleRegistry.h - clang-tidy -----------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H
11 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H
12 
13 #include "ClangTidyModule.h"
14 #include "llvm/Support/Registry.h"
15 
16 extern template class llvm::Registry<clang::tidy::ClangTidyModule>;
17 
18 namespace clang {
19 namespace tidy {
20 
21 typedef llvm::Registry<ClangTidyModule> ClangTidyModuleRegistry;
22 
23 } // end namespace tidy
24 } // end namespace clang
25 
26 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H
llvm::Registry< ClangTidyModule > ClangTidyModuleRegistry