[llvm] [Support] Remove LongOptionsUseDoubleDash from cl::ParseCommandLineOptions (PR #226347)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 20:03:19 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-support
Author: Fangrui Song (MaskRay)
<details>
<summary>Changes</summary>
The mode (https://reviews.llvm.org/D61294), in which `-` introduces only
single-character options and `--` long ones, was added for the
binutils-style tools, which have since moved to OptTable. Its last
users, yaml2obj, obj2yaml and split-file, parse with OptTable now.
LLM-aided
---
Full diff: https://github.com/llvm/llvm-project/pull/226347.diff
3 Files Affected:
- (modified) llvm/include/llvm/Support/CommandLine.h (+1-2)
- (modified) llvm/lib/Support/CommandLine.cpp (+15-29)
- (modified) llvm/unittests/Support/CommandLineTest.cpp (-31)
``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````
</details>
https://github.com/llvm/llvm-project/pull/226347
More information about the llvm-commits
mailing list