[clang] [Clang] Allow simpler visibility annotations when targeting win32 and mingw (PR #133699)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 15 07:51:19 PDT 2025
================
@@ -4185,6 +4185,14 @@ def DLLExport : InheritableAttr, TargetSpecificAttr<TargetHasDLLImportExport> {
let Documentation = [DLLExportDocs];
}
+def DLLExportOnDecl : InheritableAttr, TargetSpecificAttr<TargetHasDLLImportExport> {
----------------
erichkeane wrote:
Hmm... I'm not a huge fan of this TBH. An attribute for the sole purpose of diagnostics is a little novel and not particularly in keeping with our "represent the AST" nature of attributes. Is there really no way we can figure this out later?
https://github.com/llvm/llvm-project/pull/133699
More information about the cfe-commits
mailing list