[clang] [clang][ssaf] Fix building on gcc-7 and MinGW/Cygwin (PR #181812)
Tomohiro Kashiwada via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 17 05:07:39 PST 2026
================
@@ -42,4 +44,9 @@ class MockSerializationFormat final : public SerializationFormat {
} // namespace clang::ssaf
+namespace llvm {
+extern template class CLANG_TEMPLATE_ABI
+ Registry<clang::ssaf::MockSerializationFormat::FormatInfo>;
----------------
kikairoya wrote:
Reverting https://github.com/llvm/llvm-project/commit/2800ac203cba9e82f31334ff5439b9a91f7444fa might allow us to catch this. Another macro would be needed for `Registry`s that have extra type arguments, though.
https://github.com/llvm/llvm-project/pull/181812
More information about the cfe-commits
mailing list