[clang] [clang] Document the type_visibility attribute (PR #79157)

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 8 08:14:06 PST 2024


================
@@ -5557,6 +5557,21 @@ See :doc:`LTOVisibility`.
   }];
 }
 
+def TypeVisibilityDocs : Documentation {
+  let Category = DocCatType;
+  let Content = [{
+The ``type_visibility`` attribute allows the ELF visibility of a type and its vague
----------------
ldionne wrote:

I don't know the answer to that question since I have no familiarity with PE32. However, looking at the original patch it looks to me like this impacts all places where a normal visibility attribute is relevant. I think I should just remove `ELF` here from the docs, since this makes it look unnecessarily specific to ELF.

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


More information about the cfe-commits mailing list