| Age | Commit message (Collapse) | Author |
|
Originally done in #166088.
This broke 2 of our Flang builds with this error:
FAILED: examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o
/usr/local/bin/c++ <..> -c /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
../llvm-project/llvm/examples/OptSubcommand/llvm-hello-sub.cpp:49:51: error: expected '{' or ','
49 | OptionSubCommandIDsTable) = default;
| ^
|
|
Identified with modernize-use-equals-default.
|
|
Implement support for `subcommands` in OptTable to attain feature parity
with `cl`.
Design overview:
https://discourse.llvm.org/t/subcommand-feature-support-in-llvm-opttable/88098
Issue: https://github.com/llvm/llvm-project/issues/108307
|