[PATCH] D56549: Add support for prefix-only CLI options
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 10 07:46:50 PST 2019
thopre created this revision.
thopre added a reviewer: jdenny.
Add support for options that always prefix their value, giving an error
if the value is in the next argument or if the option is given a value
assignment (ie. opt=val). This is the desired behavior for the -D option
of FileCheck for instance.
Repository:
rL LLVM
https://reviews.llvm.org/D56549
Files:
llvm/include/llvm/Support/CommandLine.h
llvm/lib/Support/CommandLine.cpp
llvm/unittests/Support/CommandLineTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56549.181064.patch
Type: text/x-patch
Size: 7026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190110/6c22434c/attachment.bin>
More information about the llvm-commits
mailing list