diff options
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/examples/PrintFunctionNames/PrintFunctionNames.exports | 1 | ||||
| -rw-r--r-- | clang/include/clang/Frontend/FrontendPluginRegistry.h | 3 | ||||
| -rw-r--r-- | clang/lib/Frontend/FrontendAction.cpp | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/clang/examples/PrintFunctionNames/PrintFunctionNames.exports b/clang/examples/PrintFunctionNames/PrintFunctionNames.exports index 0ff590d30d7..e69de29bb2d 100644 --- a/clang/examples/PrintFunctionNames/PrintFunctionNames.exports +++ b/clang/examples/PrintFunctionNames/PrintFunctionNames.exports @@ -1 +0,0 @@ -_ZN4llvm8Registry* diff --git a/clang/include/clang/Frontend/FrontendPluginRegistry.h b/clang/include/clang/Frontend/FrontendPluginRegistry.h index ec925adb018..49be495daa3 100644 --- a/clang/include/clang/Frontend/FrontendPluginRegistry.h +++ b/clang/include/clang/Frontend/FrontendPluginRegistry.h @@ -13,6 +13,9 @@ #include "clang/Frontend/FrontendAction.h" #include "llvm/Support/Registry.h" +// Instantiated in FrontendAction.cpp. +extern template class llvm::Registry<clang::PluginASTAction>; + namespace clang { /// The frontend plugin registry. diff --git a/clang/lib/Frontend/FrontendAction.cpp b/clang/lib/Frontend/FrontendAction.cpp index c274ba71768..791017924d6 100644 --- a/clang/lib/Frontend/FrontendAction.cpp +++ b/clang/lib/Frontend/FrontendAction.cpp @@ -32,6 +32,8 @@ #include <system_error> using namespace clang; +template class llvm::Registry<clang::PluginASTAction>; + namespace { class DelegatingDeserializationListener : public ASTDeserializationListener { |

