[clang] [llvm] [c-index-test] Switch to OptTable (PR #246765)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 13:55:05 PST 2026


https://github.com/MaskRay created https://github.com/llvm/llvm-project/pull/246765

Parse the `c-index-test core` command line with OptTable instead of
cl::opt, as part of removing cl::opt from clang/. Help output uses the
OptTable format, and LLVM's global options (e.g. -debug-only, --version)
are no longer accepted. `c-index-test core -help` now also lists the
options that cl::HideUnrelatedOptions hid.

LLM-aided

The server is unavailable at this time. Please wait a few minutes before you try again.


More information about the cfe-commits mailing list