================
@@ -7552,6 +7552,27 @@ attribute requires a string literal argument to identify 
the handle being releas
   }];
 }
 
+def zOSExportDocs : Documentation {
+  let Category = DocCatFunction;
+  let Content = [{
+Use the ``_Export`` keyword on a function or external variable to declare
+that it is to be exported (made available to other modules). You must define
+the object name in the same translation unit in which you use the ``_Export``
----------------
perry-ca wrote:

We don't diagnose that `anthony` isn't defined. This was never diagnosed in the 
existing z/OS compiler and neither with the visibility attribute.  The wording 
is a little strong.  We should say the object is only exported if it is also 
defined in the translation unit.

https://github.com/llvm/llvm-project/pull/111035
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to