[PATCH] D122378: Be more explicit about -fvisibility=<arg> documentation

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 03:22:23 PDT 2022


serge-sans-paille created this revision.
serge-sans-paille added a reviewer: aaron.ballman.
Herald added a project: All.
serge-sans-paille requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

When in need, I had to look into gcc info page, then check clang source code. Having that info in the official doc looks useful :-)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122378

Files:
  clang/docs/ClangCommandLineReference.rst


Index: clang/docs/ClangCommandLineReference.rst
===================================================================
--- clang/docs/ClangCommandLineReference.rst
+++ clang/docs/ClangCommandLineReference.rst
@@ -2613,9 +2613,9 @@
 
 The visibility for defintiions without an explicit DLL export class \[-fvisibility-from-dllstorageclass\]
 
-.. option:: -fvisibility=<arg>
+.. option:: -fvisibility=[default|hidden]
 
-Set the default symbol visibility for all global declarations
+Set the default symbol visibility for all global declarations.
 
 .. option:: -fwasm-exceptions
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122378.417864.patch
Type: text/x-patch
Size: 578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220324/7e37794e/attachment.bin>


More information about the cfe-commits mailing list