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

Nikolas Klauser via cfe-commits cfe-commits at lists.llvm.org
Fri May 2 23:54:51 PDT 2025


================
@@ -4185,6 +4185,14 @@ def DLLExport : InheritableAttr, TargetSpecificAttr<TargetHasDLLImportExport> {
   let Documentation = [DLLExportDocs];
 }
 
+def DLLExportOnDecl : InheritableAttr, TargetSpecificAttr<TargetHasDLLImportExport> {
----------------
philnik777 wrote:

Since we don't represent invalid attribute in the AST currently I don't think there is.

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


More information about the cfe-commits mailing list