[llvm-cxxfilt] Switch command line parsing from llvm::cl to OptTable
authorFangrui Song <i@maskray.me>
Fri, 9 Jul 2021 17:10:45 +0000 (10:10 -0700)
committerFangrui Song <i@maskray.me>
Fri, 9 Jul 2021 17:10:45 +0000 (10:10 -0700)
commit48de8bb0d37573cd18e1158c9fd95afafcf4e440
tree143b904eadb352e8d6f26456d178acfeceeff02e
parentf9517353959b4ef5c706e4356b56aeb9e0087584
[llvm-cxxfilt] Switch command line parsing from llvm::cl to OptTable

Similar to D104889. The tool is very simple and its long options are uncommon,
so just drop the one-dash form in this patch.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D105605
llvm/docs/CommandGuide/llvm-cxxfilt.rst
llvm/test/tools/llvm-cxxfilt/help.test
llvm/tools/llvm-cxxfilt/CMakeLists.txt
llvm/tools/llvm-cxxfilt/Opts.td [new file with mode: 0644]
llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp
llvm/utils/gn/secondary/llvm/tools/llvm-cxxfilt/BUILD.gn
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel