forked from OSchip/llvm-project
clang-tidy: Instantiate llvm::Registry<clang::tidy::ClangTidyModule>.
llvm-svn: 212271
This commit is contained in:
parent
3dd23a337c
commit
71b982b41f
|
@ -46,6 +46,8 @@ using namespace clang::driver;
|
||||||
using namespace clang::tooling;
|
using namespace clang::tooling;
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
|
template class llvm::Registry<clang::tidy::ClangTidyModule>;
|
||||||
|
|
||||||
namespace clang {
|
namespace clang {
|
||||||
namespace tidy {
|
namespace tidy {
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
#include "ClangTidyModule.h"
|
#include "ClangTidyModule.h"
|
||||||
#include "llvm/Support/Registry.h"
|
#include "llvm/Support/Registry.h"
|
||||||
|
|
||||||
|
extern template class llvm::Registry<clang::tidy::ClangTidyModule>;
|
||||||
|
|
||||||
namespace clang {
|
namespace clang {
|
||||||
namespace tidy {
|
namespace tidy {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue