[all-commits] [llvm/llvm-project] 41825f: [Option] Fix simple subcommand with positional arg...
Steven Wu via All-commits
all-commits at lists.llvm.org
Thu Nov 6 20:58:19 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 41825fbf0e869ba357c713971f20eb1fcdafd09c
https://github.com/llvm/llvm-project/commit/41825fbf0e869ba357c713971f20eb1fcdafd09c
Author: Steven Wu <stevenwu at apple.com>
Date: 2025-11-06 (Thu, 06 Nov 2025)
Changed paths:
M llvm/lib/Option/ArgList.cpp
M llvm/unittests/Option/OptionSubCommandsTest.cpp
Log Message:
-----------
[Option] Fix simple subcommand with positional arguments (#166859)
Fix subcommand detection when subcommand used with positional arguments.
When there is only one valid subcommand passed,
`ArgList::getSubCommand()` should return the correct subcommand even
there are other positionals passed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list