llvm-project
[llvm] Add subcommand support for OptTable
#155026
Merged

[llvm] Add subcommand support for OptTable #155026

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

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone