================
@@ -19,6 +20,9 @@ using Value = llvm::json::Value;
 // ErrorBuilder - Fluent API for constructing contextual errors.
 //----------------------------------------------------------------------------
 
+template class CLANG_EXPORT_TEMPLATE
+    llvm::Registry<clang::ssaf::JSONFormat::FormatInfo>;
+
----------------
kikairoya wrote:

> `LLVM_INSTANTIATE_REGISTRY` declares with `LLVM_EXPORT_TEMPLATE`, but we need 
> `CLANG_EXPORT_TEMPLATE` here for Windows dylib builds (not MinGW).

Oops, not `LLVM_EXPORT_TEMPLATE` but `LLVM_ABI_EXPORT`. It isn't appropriate 
here anyways.

https://github.com/llvm/llvm-project/pull/181806
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to