================
@@ -155,23 +176,81 @@ template <typename T, typename... CtorParamTypes> class 
Registry {
 
 } // end namespace llvm
 
-#ifdef _WIN32
-/// Instantiate a registry class.
-#define LLVM_INSTANTIATE_REGISTRY(REGISTRY_CLASS)                              
\
+// Helper macros to instantiate registry class.
+//
+// To provide a `Registry` interface, follow these steps:
----------------
steakhal wrote:

Maybe these comments should be doxygen-style and begin with 3 slashes.

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

Reply via email to