[PATCH] D104363: [llvm] Mark more internal command line optins as cl::Hidden

Timm Bäder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 17 00:40:02 PDT 2021


tbaeder updated this revision to Diff 352631.
tbaeder added a comment.
Herald added subscribers: rupprecht, MaskRay.
Herald added a reviewer: jhenderson.

New version with the proposed way of using `cl::HideUnrelatedOptions()` instead.

Unfortunately this makes the changes difficult in some of the tools since they declare `cl::opt`s in files other than their main file.


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

https://reviews.llvm.org/D104363

Files:
  llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
  llvm/tools/llvm-cxxdump/llvm-cxxdump.cpp
  llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp
  llvm/tools/llvm-cxxmap/llvm-cxxmap.cpp
  llvm/tools/llvm-diff/llvm-diff.cpp
  llvm/tools/llvm-dis/llvm-dis.cpp
  llvm/tools/llvm-dwp/llvm-dwp.cpp
  llvm/tools/llvm-elfabi/llvm-elfabi.cpp
  llvm/tools/llvm-exegesis/lib/X86/Target.cpp
  llvm/tools/llvm-exegesis/llvm-exegesis.cpp
  llvm/tools/llvm-ifs/llvm-ifs.cpp
  llvm/tools/llvm-jitlink/llvm-jitlink.cpp
  llvm/tools/llvm-link/llvm-link.cpp
  llvm/tools/llvm-lto/llvm-lto.cpp
  llvm/tools/llvm-mc/llvm-mc.cpp
  llvm/tools/llvm-modextract/llvm-modextract.cpp
  llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
  llvm/tools/llvm-readobj/llvm-readobj.cpp
  llvm/tools/llvm-reduce/llvm-reduce.cpp
  llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
  llvm/tools/llvm-split/llvm-split.cpp
  llvm/tools/llvm-stress/llvm-stress.cpp
  llvm/tools/llvm-strings/llvm-strings.cpp
  llvm/tools/llvm-undname/llvm-undname.cpp
  llvm/tools/llvm-xray/llvm-xray.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104363.352631.patch
Type: text/x-patch
Size: 98178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210617/a7f06c4a/attachment.bin>


More information about the llvm-commits mailing list