[PATCH] D65200: [clangd] Add categories to help options, and only show clangd options.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 24 05:04:24 PDT 2019


sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.

Restricting the categories prevents extra unwanted options from creeping into
help (D60663 <https://reviews.llvm.org/D60663>), and removes a bunch of noise from --help-hidden.

While here, remove `static` from the opts in favor of an anon namespace, to
reduce the noise level.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D65200

Files:
  clang-tools-extra/clangd/tool/ClangdMain.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65200.211469.patch
Type: text/x-patch
Size: 10872 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190724/b1442168/attachment.bin>


More information about the cfe-commits mailing list