[clang] [Clang][ssaf] Add missing instantiations of `Registry<JSONFormat::FormatInfo>` (PR #181806)
Tomohiro Kashiwada via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 17 04:04:20 PST 2026
================
@@ -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).
https://github.com/llvm/llvm-project/pull/181806
More information about the cfe-commits
mailing list