[llvm] Add subcommand support for OptTable #155026
[OptTable] Subcommand support.
3584c6aa
Cleanup internalPrintHelp code
8665d9ee
Fix formatting
d4850467
Add custom usage string to tablegen for each subcommand
b325c781
Add todo
61334ef8
Make subcommand usage text optional
1690f3b5
Make subcommand's position flexible and not just as first argument.
9c419d9f
Handle unknown subcommands in a graceful manner.
19e64375
Handle more than one subcommand passed in commandline.
8d5363b2
Handle subcommand errors in parsing through lambdas.
51ef95ec
Prabhuk
marked this pull request as ready for review 73 days ago
Address review comments.
043bbc88
Fix initialization order of IgnoreCase.
bc8bd1b2
Address review comments 2/
dcb6779a
Address review comments 3/
e7ea6476
Update inline comment.
ff8034a3
Address review comments 4/
e99a9a02
Merge branch 'main' into opttable_subcommands_working
a480c0c3
Address review comments.
d41c2aea
Remove TopLevelCommand abstraction completely.
c1cddc96
Update variable names to reflect there is no Toplevelcommand.
e28d2b06
Update macro definition variable names
3bc51b73
More refactorings
1feae670
Add subcommand unit tests.
66af1aa6
More test cases.
b907a9c3
Address review comments. Improve inline comments.
94851994
Fix formatting.
5c31cea5
Unfix unnecessary formatting.
5995d189
Remove empty lines and braces on single line loop body.
064868aa
Fix unittest to be more verbose.
c5a0cf50
Format.
dfc592ec
Fix the SubCommands find_if return type.
8d116738
Introduce API to check if a subcommand is registered with a given opt…
db25a6a4
Make API name consistent.
ebdb5b82
Add test to handle unregistered subcommand option case.
3d7c81e2
Merge branch 'main' into opttable_subcommands_working
845a0739
PiJoules
approved these changes
on 2025-10-02
Address review comments.
396a0410
Prabhuk
merged
fdbd17d1
into main 33 days ago
Prabhuk
deleted the opttable_subcommands_working branch 18 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub