[PATCH] D13229: Add -Wc, option

don hinton via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 28 15:59:38 PDT 2015


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" <joerg at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150928/5544ac34/attachment.html>


More information about the cfe-commits mailing list