[clang] [Clang] Allow simpler visibility annotations when targeting win32 and mingw (PR #133699)

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 14 06:30:34 PDT 2025


================
@@ -870,7 +873,8 @@ def NSReturnsMismatch : DiagGroup<"nsreturns-mismatch">;
 
 def IndependentClassAttribute : DiagGroup<"IndependentClass-attribute">;
 def UnknownAttributes : DiagGroup<"unknown-attributes">;
-def IgnoredAttributes : DiagGroup<"ignored-attributes">;
+def IgnoredAttributes : DiagGroup<"ignored-attributes",
+                                  [DllexportExplicitInstantiation]>;
----------------
cor3ntin wrote:

Can you explain this change? It does not seem correct to me given the attribute has no spelling

https://github.com/llvm/llvm-project/pull/133699


More information about the cfe-commits mailing list