[PATCH] Extra Command Line library functionality (option grouping and runtime inspection/modification)

Daniel Liew daniel.liew at imperial.ac.uk
Mon Apr 22 07:03:53 PDT 2013


On 22/04/13 11:02, Daniel Liew wrote:

I tweaked the implementation and documentation slightly. The new version
of the patches are attached.

> Ping
> On 18/04/13 04:46, Daniel Liew wrote:
>> Hi,
>>
>> I've reworked my patches and redesigned a few bits. Now there is no
>> -help-cat. There is just the -help command line option. If two or more
>> option categories are declared then the behaviour of -help automatically
>> changes so it shows categorized output instead of uncategorized output.
>> When -help produces categorized output an option -help-list becomes
>> unhidden which will produce uncategorized output.
>>
>> I have also documented my work in the Sphinx documentation in my patches.
>>
>> The patches are attached. They were generated with git, they seem to
>> apply ok although git complains about trailing white space.
>>
>> My git branch with these patches on can be found at
>> https://github.com/delcypher/llvm/tree/new-llvm-cmd
>>
>> I also have a sample project that compiles against my API changes at
>> https://github.com/delcypher/sample-llvm-cmd
>>
>>> Sorry. Normally, a maintainer of that area should check the patches, but 
>>> looking at the git history, it seems there is not a single person to 
>>> point to. Someone feels capable?
>>
>> What do you suggest I do? I could e-mail the top 3 committers (by line)
>> who are...
>>
>> Chris Latner
>> Andrew Trick
>> Jim Laskey
>>
>> Thanks,
>> Dan Liew.
>>
>>
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-support-for-declaring-Option-categories-and-th.patch
Type: text/x-patch
Size: 16057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130422/e51d9e16/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Implemented-public-interface-for-modifying-registere.patch
Type: text/x-patch
Size: 2940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130422/e51d9e16/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Added-table-of-contents-declaration-in-CommandLine-L.patch
Type: text/x-patch
Size: 617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130422/e51d9e16/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Added-Sphinx-documentation-for-CommandLine-option-ca.patch
Type: text/x-patch
Size: 3756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130422/e51d9e16/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Added-Sphinx-documentation-for-cl-getRegisteredOptio.patch
Type: text/x-patch
Size: 2673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130422/e51d9e16/attachment-0004.bin>


More information about the llvm-commits mailing list