diff options
| author | John Brawn <john.brawn@arm.com> | 2016-07-27 11:41:18 +0000 |
|---|---|---|
| committer | John Brawn <john.brawn@arm.com> | 2016-07-27 11:41:18 +0000 |
| commit | 3839263204a107b7befe498bdd8ee617b20808c9 (patch) | |
| tree | ff4d452d5a047e15132f3f1c828bcc8447b0977f /clang/lib | |
| parent | 63aff61019e0a6bdae4cfdac2a3cc0be9fdcfa97 (diff) | |
| download | bcm5719-llvm-3839263204a107b7befe498bdd8ee617b20808c9.tar.gz bcm5719-llvm-3839263204a107b7befe498bdd8ee617b20808c9.zip | |
Revert r276856 "Adjust Registry interface to not require plugins to export a registry"
This is causing a huge pile of buildbot failures.
llvm-svn: 276857
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Frontend/FrontendAction.cpp | 2 | ||||
| -rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 2 | ||||
| -rw-r--r-- | clang/lib/Tooling/CompilationDatabase.cpp | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/clang/lib/Frontend/FrontendAction.cpp b/clang/lib/Frontend/FrontendAction.cpp index 2945b8925f9..d2c2a80394d 100644 --- a/clang/lib/Frontend/FrontendAction.cpp +++ b/clang/lib/Frontend/FrontendAction.cpp @@ -33,7 +33,7 @@ #include <system_error> using namespace clang; -LLVM_INSTANTIATE_REGISTRY(FrontendPluginRegistry) +template class llvm::Registry<clang::PluginASTAction>; namespace { diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index 6812da82129..3654ba080d4 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -54,7 +54,7 @@ #include <utility> using namespace clang; -LLVM_INSTANTIATE_REGISTRY(PragmaHandlerRegistry) +template class llvm::Registry<clang::PragmaHandler>; //===----------------------------------------------------------------------===// ExternalPreprocessorSource::~ExternalPreprocessorSource() { } diff --git a/clang/lib/Tooling/CompilationDatabase.cpp b/clang/lib/Tooling/CompilationDatabase.cpp index 6f95bf01f69..8fc4a1fe5be 100644 --- a/clang/lib/Tooling/CompilationDatabase.cpp +++ b/clang/lib/Tooling/CompilationDatabase.cpp @@ -32,8 +32,6 @@ using namespace clang; using namespace tooling; -LLVM_INSTANTIATE_REGISTRY(CompilationDatabasePluginRegistry) - CompilationDatabase::~CompilationDatabase() {} std::unique_ptr<CompilationDatabase> |

