vmiklos added a comment.

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?


https://reviews.llvm.org/D21814



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to