[PATCH] D15350: [clang-cl] Let /W4 map to -Wall -Wextra instead of just -Wall.

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 8 14:06:16 PST 2015


hans accepted this revision.
hans added a comment.
This revision is now accepted and ready to land.

> There's no way to make a flag alias to two flags


Well, at least not with the alias mechanism in the option parser, but David pointed out we could expand it manually in MSVCToolChain::TranslateArgs.

Both alternatives are kind of annoying.. I especially don't like the idea of iterating over all the flags a bunch of time, so maybe this approach is better. lgtm.


http://reviews.llvm.org/D15350





More information about the cfe-commits mailing list