[all-commits] [llvm/llvm-project] 50b8b5: [Support] Remove cl::DefaultOption (#225609)
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Sep 23 10:27:08 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 50b8b5a101f2b6a4f99dd6cd77396ff0cce990e1
https://github.com/llvm/llvm-project/commit/50b8b5a101f2b6a4f99dd6cd77396ff0cce990e1
Author: Fangrui Song <i at maskray.me>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M clang/tools/clang-format/ClangFormat.cpp
M clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
M clang/tools/offload-arch/OffloadArch.cpp
M llvm/docs/CommandLine.md
M llvm/include/llvm/Support/CommandLine.h
M llvm/lib/Support/CommandLine.cpp
M llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
M llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp
M llvm/tools/llvm-offload-wrapper/llvm-offload-wrapper.cpp
M llvm/tools/llvm-reduce/llvm-reduce.cpp
M llvm/unittests/Support/CommandLineTest.cpp
M mlir/lib/Tools/mlir-query/MlirQueryMain.cpp
M mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
Log Message:
-----------
[Support] Remove cl::DefaultOption (#225609)
https://reviews.llvm.org/D59746 added cl::DefaultOption so that the
built-in -h could be overridden by llvm-objdump and llvm-readobj, which
have since moved to OptTable. The remaining overrides just call
PrintHelpMessage, so remove them along with the flag. -h and --help
keep working in every 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