diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2023-12-20 02:39:32 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-20 02:39:32 +0700 |
commit | 6a2a99fb4550bab4b64a8cb8d5c9d91ae4f37558 (patch) | |
tree | a2240b0b550e1ab15e3a0a591df866f49d076972 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 315a5cce89d8f15da5c47d85abbc8155b9c0f0b0 (diff) | |
download | llvm-6a2a99fb4550bab4b64a8cb8d5c9d91ae4f37558.zip llvm-6a2a99fb4550bab4b64a8cb8d5c9d91ae4f37558.tar.gz llvm-6a2a99fb4550bab4b64a8cb8d5c9d91ae4f37558.tar.bz2 |
[CommandLine][NFCI] Simplify enumerating subcommands of an option (#75679)
The patch adds a helper method to iterate over all subcommands to which
an option belongs. Duplicate code is removed and replaced with calls to
this new method.
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions