[PATCH] D61574: [CommandLine] Allow Options to specify multiple OptionCategory's.
Don Hinton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 5 14:05:12 PDT 2019
hintonda created this revision.
hintonda added reviewers: MaskRay, thopre, dblaikie, rnk.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
It's not uncommon for separate components to share common
Options, e.g., it's common for related Passes to share Options in
addition to the Pass specific ones.
With this change, components can use OptionCategory's to simply help
output even if some of the options are shared.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D61574
Files:
llvm/include/llvm/Support/CommandLine.h
llvm/lib/Support/CommandLine.cpp
llvm/unittests/Support/CommandLineTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61574.198201.patch
Type: text/x-patch
Size: 8964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190505/bd57f6ad/attachment.bin>
More information about the llvm-commits
mailing list