zsh-workers
 help / color / mirror / code / Atom feed
From: Eitan Adler <lists@eitanadler.com>
To: dana <dana@dana.is>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH] _gcc: add some clang specific warnings
Date: Tue, 7 Jan 2020 20:57:36 -0800	[thread overview]
Message-ID: <CAF6rxgknckP5uot6=XYCv0jiXRFvZN3Y9R2VwHhWG01WjqY_LQ@mail.gmail.com> (raw)
In-Reply-To: <675ADBBB-4F6E-4A7C-8214-7D1E449B4B5E@dana.is>

On Mon, 6 Jan 2020 at 20:16, dana <dana@dana.is> wrote:
>
> On 5 Jan 2020, at 12:52, Eitan Adler <lists@eitanadler.com> wrote:
> > This adds some missing completions to the _gcc completer for clang.
> > Sadly clang does not support --help=warnings so it is not complete.
>
> Merged. It occurred to me that it won't work quite accurately on macOS,
> though, because gcc is actually clang there.

I really wish clang would implement --help=<object>. This would
eliminate the need to list all of the options and so forth. I believe
I filed a feature request years ago but can't actually find it right
about now.

> I think this should address it.

This patch seems alright to me.

> Or should we go even further and try to be
> clever about which options to provide for CFLAGS, &al.?

CFLAGS is used in many more odd contexts - including where you don't
know what CC is. In this case I'd complete the union of the two.

> All we could do with
> that is guess, i suppose.
>

-- 
Eitan Adler

      reply	other threads:[~2020-01-08  4:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 18:52 Eitan Adler
2020-01-07  4:16 ` dana
2020-01-08  4:57   ` Eitan Adler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF6rxgknckP5uot6=XYCv0jiXRFvZN3Y9R2VwHhWG01WjqY_LQ@mail.gmail.com' \
    --to=lists@eitanadler.com \
    --cc=dana@dana.is \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).