Author: john.brawn Date: Thu Jul 28 12:17:22 2016 New Revision: 277008 URL: http://llvm.org/viewvc/llvm-project?rev=277008&view=rev Log: Revert r276973 "Adjust Registry interface to not require plugins to export a registry"
Buildbot failures when building with clang -Werror. Reverting while I try to figure this out. Modified: clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp clang-tools-extra/trunk/clang-tidy/ClangTidyModuleRegistry.h Modified: clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp?rev=277008&r1=277007&r2=277008&view=diff ============================================================================== --- clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp (original) +++ clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp Thu Jul 28 12:17:22 2016 @@ -47,7 +47,7 @@ using namespace clang::driver; using namespace clang::tooling; using namespace llvm; -LLVM_INSTANTIATE_REGISTRY(clang::tidy::ClangTidyModuleRegistry) +template class llvm::Registry<clang::tidy::ClangTidyModule>; namespace clang { namespace tidy { Modified: clang-tools-extra/trunk/clang-tidy/ClangTidyModuleRegistry.h URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/ClangTidyModuleRegistry.h?rev=277008&r1=277007&r2=277008&view=diff ============================================================================== --- clang-tools-extra/trunk/clang-tidy/ClangTidyModuleRegistry.h (original) +++ clang-tools-extra/trunk/clang-tidy/ClangTidyModuleRegistry.h Thu Jul 28 12:17:22 2016 @@ -13,6 +13,8 @@ #include "ClangTidyModule.h" #include "llvm/Support/Registry.h" +extern template class llvm::Registry<clang::tidy::ClangTidyModule>; + namespace clang { namespace tidy { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits