[PATCH] D114645: [CommandLine] Keep option default value unset if no cl::init() is used
Yevgeny Rouban via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 7 07:25:08 PST 2021
yrouban added inline comments.
================
Comment at: llvm/include/llvm/Support/CommandLine.h:1409
// type.
- opt_storage() : Value(DataType()), Default(DataType()) {}
+ opt_storage() : Value(DataType()), Default() {}
----------------
do you want me to add a comment?
// Do not initialize Default. Keep it None.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114645/new/
https://reviews.llvm.org/D114645
More information about the llvm-commits
mailing list