[PATCH] D115433: [CommandLine] Reset option to its default if its Default field is undefined
Yevgeny Rouban via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 10 19:08:28 PST 2022
yrouban added a comment.
In D115433#3231806 <https://reviews.llvm.org/D115433#3231806>, @beanz wrote:
> ... With this patch, options _without_ `cl::init` should get reset to the default-constructed value of the option type, and options with `cl::init` get initialized to the default value.
+1. I have fixed the summary to make it clearer.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115433/new/
https://reviews.llvm.org/D115433
More information about the llvm-commits
mailing list