impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Robinson <he...@apache.org>
Subject Re: Disabling all clang-tidy checks
Date Thu, 13 Jul 2017 00:24:46 GMT
That does not, for whatever reason, actually disable clang-diagnostic-*. I
don't know why either :/

On 12 July 2017 at 17:15, Jim Apple <jbapple@cloudera.com> wrote:

> What about "diagnostic-henry-thinks-will-never-fire,-*,-clang-diagnosti
> c-*"?
>
>
>
> On Wed, Jul 12, 2017 at 5:01 PM, Henry Robinson <henry@apache.org> wrote:
>
> > Has anyone found a way to disable all clang-tidy checks for a directory?
> >
> > I've tried a directory-specific .clang-tidy file with
> >
> > ---
> > Checks: "-*"
> >
> > but that causes clang-tidy to exit with an error (because I didn't
> > configure any checks). So I tried adding one check that I thought would
> > never fire. But that silently re-enables a bunch of clang-diagnostic*
> > checks that I don't want.
> >
> > This happens when running:
> >
> > git diff HEAD~1 |
> >  "${IMPALA_TOOLCHAIN}/llvm-${IMPALA_LLVM_VERSION}/share/clan
> > g/clang-tidy-diff.py"
> > -clang-tidy-binary
> > "${IMPALA_TOOLCHAIN}/llvm-${IMPALA_LLVM_VERSION}/bin/clang-tidy" -p 1
> >
> > per
> > https://cwiki.apache.org/confluence/pages/viewpage.action?
> pageId=65868536
> >
> > Any ideas? Am I running clang-tidy wrong?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message