[all-commits] [llvm/llvm-project] becb38: [split-file] Migrate to OptTable (#224966)
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Sep 24 10:42:07 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: becb38d14dafea1ebaf446b9c2f8f8c31fe335e8
https://github.com/llvm/llvm-project/commit/becb38d14dafea1ebaf446b9c2f8f8c31fe335e8
Author: Fangrui Song <i at maskray.me>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M llvm/test/tools/split-file/help.test
M llvm/utils/gn/secondary/llvm/utils/split-file/BUILD.gn
M llvm/utils/split-file/CMakeLists.txt
A llvm/utils/split-file/Opts.td
M llvm/utils/split-file/split-file.cpp
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[split-file] Migrate to OptTable (#224966)
split-file is one of three tools that parse with
cl::ParseCommandLineOptions(LongOptionsUseDoubleDash=true). Parse its
options with an OptTable instead, so that the mode can be removed from
cl::. --no-leading-lines now overrides an earlier --leading-lines
rather than being ignored, and `--help` lists only split-file's
options. `--version` still exits 0, which libc++'s test configuration
relies on to detect the tool.
LLM-aided
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