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
 


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
 
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to