[PATCH] D59746: [CommandLineParser] Add DefaultOption flag
Don Hinton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 11 06:03:15 PDT 2019
hintonda updated this revision to Diff 194669.
hintonda added a comment.
- Delay actually adding default options until ParseCommandLineOptions which simplifies handling and makes it easy to only add them to the correct SubCommand.
Add simple tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59746/new/
https://reviews.llvm.org/D59746
Files:
clang/lib/Tooling/CommonOptionsParser.cpp
llvm/docs/CommandLine.rst
llvm/include/llvm/Support/CommandLine.h
llvm/lib/Support/CommandLine.cpp
llvm/test/Support/check-default-options.txt
llvm/tools/llvm-opt-report/OptReport.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59746.194669.patch
Type: text/x-patch
Size: 7838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190411/9d38bee9/attachment.bin>
More information about the llvm-commits
mailing list