[PATCH] D21814: clang-rename: support multiple renames with one invocation

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 15 07:14:30 PDT 2016

klimek added a comment.

In https://reviews.llvm.org/D21814#485410, @vmiklos wrote:

> The alternative is to change the `CommonOptionsParser` ctor to take a vector of `OptionCategory&`, and in that case we can add the -extra-arg-before and other options to all subcommands, but that means he'll have to adapt all client code, i.e. all tools in clang-tools-extra that uses CommonOptionsParser. Is that an acceptable cost? Or did I miss some easier way?

So Subcommand doesn't support having a set of common options?


More information about the cfe-commits mailing list