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

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 05:50:45 PDT 2022


aaron.ballman added a comment.

Thanks for the additional docs!



================
Comment at: clang/docs/ClangCommandLineReference.rst:2616
 
-.. option:: -fvisibility=<arg>
+.. option:: -fvisibility=[default|hidden]
 
----------------
>From looking at Options.td, it seems there are more visibility values we support as synonyms: https://github.com/llvm/llvm-project/blob/main/clang/include/clang/Driver/Options.td#L472

Should we list those and document their nature?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122378/new/

https://reviews.llvm.org/D122378



More information about the cfe-commits mailing list