Reset all options in cl::ResetCommandLineParser()
authorChristian Sigg <csigg@google.com>
Thu, 10 Jun 2021 06:56:15 +0000 (08:56 +0200)
committerChristian Sigg <csigg@google.com>
Mon, 16 Aug 2021 07:56:22 +0000 (09:56 +0200)
commit93c55d5ea24b8f455b0621bac373f142e0008739
treeb51d51fd8c416e5604a550c0030bf0c72cec5c9e
parent7185007735cd08a1928765f08301c48382c6222e
Reset all options in cl::ResetCommandLineParser()

Reset cl::Positional, cl::Sink and cl::ConsumeAfter options as well in cl::ResetCommandLineParser().

Reviewed By: rriddle, sammccall

Differential Revision: https://reviews.llvm.org/D103356
llvm/lib/Support/CommandLine.cpp
llvm/unittests/Support/CommandLineTest.cpp