File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 3232#include " clang/Lex/PPEmbedParameters.h"
3333#include " clang/Lex/Token.h"
3434#include " clang/Lex/TokenLexer.h"
35+ #include " clang/Support/Compiler.h"
3536#include " llvm/ADT/APSInt.h"
3637#include " llvm/ADT/ArrayRef.h"
3738#include " llvm/ADT/DenseMap.h"
@@ -3093,4 +3094,8 @@ using PragmaHandlerRegistry = llvm::Registry<PragmaHandler>;
30933094
30943095} // namespace clang
30953096
3097+ namespace llvm {
3098+ extern template class CLANG_TEMPLATE_ABI Registry<clang::PragmaHandler>;
3099+ } // namespace llvm
3100+
30963101#endif // LLVM_CLANG_LEX_PREPROCESSOR_H
Original file line number Diff line number Diff line change 99#ifndef LLVM_CLANG_TOOLING_COMPILATIONDATABASEPLUGINREGISTRY_H
1010#define LLVM_CLANG_TOOLING_COMPILATIONDATABASEPLUGINREGISTRY_H
1111
12+ #include " clang/Support/Compiler.h"
1213#include " clang/Tooling/CompilationDatabase.h"
1314#include " llvm/Support/Registry.h"
1415
@@ -42,4 +43,9 @@ using CompilationDatabasePluginRegistry =
4243} // namespace tooling
4344} // namespace clang
4445
46+ namespace llvm {
47+ extern template class CLANG_TEMPLATE_ABI
48+ Registry<clang::tooling::CompilationDatabasePlugin>;
49+ } // namespace llvm
50+
4551#endif // LLVM_CLANG_TOOLING_COMPILATIONDATABASEPLUGINREGISTRY_H
Original file line number Diff line number Diff line change 99#ifndef LLVM_CLANG_TOOLING_TOOLEXECUTORPLUGINREGISTRY_H
1010#define LLVM_CLANG_TOOLING_TOOLEXECUTORPLUGINREGISTRY_H
1111
12+ #include " clang/Support/Compiler.h"
1213#include " clang/Tooling/Execution.h"
1314#include " llvm/Support/Registry.h"
1415
@@ -20,4 +21,9 @@ using ToolExecutorPluginRegistry = llvm::Registry<ToolExecutorPlugin>;
2021} // namespace tooling
2122} // namespace clang
2223
24+ namespace llvm {
25+ extern template class CLANG_TEMPLATE_ABI
26+ Registry<clang::tooling::ToolExecutorPlugin>;
27+ } // namespace llvm
28+
2329#endif // LLVM_CLANG_TOOLING_TOOLEXECUTORPLUGINREGISTRY_H
You can’t perform that action at this time.
0 commit comments