Hi Joerg:

This change would allow users to pass multiple options, or options with
arguments, to cc1 without having to use -Xclang multiple times.

Recently, the -load option was added, at least partly, because passing
-Xclang multiple times was cumbersome. (I like that change btw)

Had -Wc, been available, perhaps that wouldn't have been that much of an
issue.

But I'll defer to your better judgement on this -- I certainly wouldn't
advocate an explosion of new options.

Thanks for concidering it...
Don
On Sep 28, 2015 6:13 PM, "Joerg Sonnenberger" <jo...@britannica.bec.de>
wrote:

> On Mon, Sep 28, 2015 at 09:54:53PM +0000, don hinton via cfe-commits wrote:
> > Add -Wc,<arg> option (similar to -Wl,<arg>) to go along with -Xclang.
> > This makes it easier to pass multiple options to cc1.
>
> How is this better than -mllvm and -Xclang? There is no precendence case
> for
> this with GCC really and I don't see a good reason for wanting this,
> frankly.
>
> Joerg
>
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to