clang-tidy: Instantiate llvm::Registry<clang::tidy::ClangTidyModule>.

llvm-svn: 212271
This commit is contained in:
NAKAMURA Takumi 2014-07-03 14:12:47 +00:00
parent 3dd23a337c
commit 71b982b41f
2 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,8 @@ using namespace clang::driver;
using namespace clang::tooling;
using namespace llvm;
template class llvm::Registry<clang::tidy::ClangTidyModule>;
namespace clang {
namespace tidy {

View File

@ -13,6 +13,8 @@
#include "ClangTidyModule.h"
#include "llvm/Support/Registry.h"
extern template class llvm::Registry<clang::tidy::ClangTidyModule>;
namespace clang {
namespace tidy {