[clang] [llvm] Update llvm::Registry to work for LLVM shared library builds on windows (PR #109024)

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 18 11:19:49 PDT 2024


================
@@ -165,4 +166,8 @@ const std::list<std::unique_ptr<ParsedAttrInfo>> &getAttributePluginInstances();
 
 } // namespace clang
 
+namespace llvm {
+extern template class CLANG_TEMPLATE_ABI llvm::Registry<clang::ParsedAttrInfo>;
----------------
compnerd wrote:

```suggestion
extern template class CLANG_TEMPLATE_ABI Registry<clang::ParsedAttrInfo>;
```

This is already in the `llvm` namespace.

https://github.com/llvm/llvm-project/pull/109024


More information about the cfe-commits mailing list