[PATCH] D61574: [CommandLine] Allow Options to specify multiple OptionCategory's.
Don Hinton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 6 13:26:27 PDT 2019
hintonda added a comment.
In D61574#1491484 <https://reviews.llvm.org/D61574#1491484>, @hintonda wrote:
> In D61574#1491471 <https://reviews.llvm.org/D61574#1491471>, @MaskRay wrote:
>
> > May I ask you to share some dumps of `some-command -help` (a demo how you'll make use of the multiple categories)😁
>
>
> Sure, I work up an example. Btw, my ultimate plan is to add categories to the passes so that bugpoint help isn't just a huge mess. That's the motivation for this change. When I started adding them, I found it wasn't really doable without this change since so many passes shared options.
There's currently not clean way to do this without being able to capture stdout when calling ParseCommandLineOptions, so I'll add that in a separate patch for that and use it here. Please see D30893 <https://reviews.llvm.org/D30893> for something similar that was done to capture stderr.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61574/new/
https://reviews.llvm.org/D61574
More information about the llvm-commits
mailing list