================
@@ -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>;
----------------
steakhal wrote:
Most definitely. I'm frequently looking at unit tests to see how certain APIs
should be used in a minimal context. This should set the example. I'll also
come back to document how to add new registries for ssaf, so that we wouldn't
trigger this build error again.
If only we had a way to side step this statically at compile time using
clang,...
https://github.com/llvm/llvm-project/pull/181812
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits