[PATCH] D115433: [CommandLine] Reset option to its default if its Default field is undefined
David Greene via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 10 08:03:35 PST 2022
greened added a comment.
What is the motivation for this change? I can argue for maintaining the current behavior., If I pass a `cl::init` to an option and call `ResetAllOptionOccurrences` I would expect that `cl::init` value to be used to reset the option. There are compiler flows that rely on that behavior.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115433/new/
https://reviews.llvm.org/D115433
More information about the llvm-commits
mailing list