[PATCH] D31410: llvm-lto2: Move the LTO::run() action behind a subcommand.
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 09:45:31 PDT 2017
zturner added a comment.
Actually perhaps better would be to make `cl::redefine` just another modifier. Maybe call it `cl::template_opt` or something. This way you would write:
extern cl::opt<bool> UseNewLtoPm;
cl::opt<bool> UseNewLtoPm2(cl::template_opt(UseNewLtoPm), cl::sub(RunSubcommand));
https://reviews.llvm.org/D31410
More information about the llvm-commits
mailing list