Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8C4FA200CD2 for ; Thu, 13 Jul 2017 02:23:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8AA9916A3F2; Thu, 13 Jul 2017 00:23:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D2F0516A3EE for ; Thu, 13 Jul 2017 02:23:40 +0200 (CEST) Received: (qmail 6547 invoked by uid 500); 13 Jul 2017 00:23:40 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 6526 invoked by uid 99); 13 Jul 2017 00:23:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2017 00:23:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 45B3F195BBA for ; Thu, 13 Jul 2017 00:23:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.396 X-Spam-Level: X-Spam-Status: No, score=-0.396 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_05_10=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 65Qsp17So1oe for ; Thu, 13 Jul 2017 00:23:37 +0000 (UTC) Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CBC0F628A2 for ; Thu, 13 Jul 2017 00:16:08 +0000 (UTC) Received: by mail-wr0-f174.google.com with SMTP id c11so45267916wrc.3 for ; Wed, 12 Jul 2017 17:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Jy/oW/w4pd4KgK5HbshX7/y3NgyotCC5le+gmqUstsY=; b=OaKESnMoJGiZ0A3wPZcb9qtPohDENJKRFhy89iX3KyNkFbDRlG6Y5Oi+tg0R/Vw858 sKtFiHcKVtL80FEoQimPznTjtHHzbb8FSoB3j4H49CFqM9vrAJ+VbQfJP9mobZAByiLT ImO7pS7Kff12GdxU/BqdNRE3sw/W7VHmFR9TSDK4+rT1Dmm+9UcEvuWCv9QD/t2BCwBX HuGzGqtXvFSHezGNX7jdl/3HW6T4h4QjpfLWeOY3hqDYVCpl1+sm82xR7KBaOn2m8Ci6 CLLyUQ86BHE5Qm0iaEKlHqmJh/WjvUeppvYJvOjbrjAUaE81eA/fYegB5ehOpzVKIsix CsCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Jy/oW/w4pd4KgK5HbshX7/y3NgyotCC5le+gmqUstsY=; b=hVFUx0ny/Mw+Tlad49tlrb7BXbT3xws5EPAHMD3sSFy1UgpnrsiB8LD88GCXojuu/O +zFPhuAk4s7kchUz22tg53WsHSZWc4IF4M2KWpih0chM/SfB8cJBcm8AJhI+K9ElbVXP fCFaK2ZPzigF8d67xNKxRpRbN2CJ09lK/lzbUD9tZnmMrYmvb3IG1zMDpYGJkhfglGve UBYC/LipAaOc4Pt3FFBQ8fFeyX/Z4ckDWVubI3Ukk07DyAMSQllFyC0mgDCQLok7dCQI OYuQJbnKeG1j+01dIA0LMHvsOdeeDqkq70/sukcMLO/eUYpUDMktZs0TAp+EqCkW5ljJ FMNQ== X-Gm-Message-State: AIVw112LgIWnrnivnCHTxPWGrCOgi9b++flbQ2Dxh4ILSMwHyBlUhmSG OLqwKig7htab858imzf75rjaOjUytXwD X-Received: by 10.223.160.138 with SMTP id m10mr497100wrm.142.1499904968278; Wed, 12 Jul 2017 17:16:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.152.210 with HTTP; Wed, 12 Jul 2017 17:15:27 -0700 (PDT) In-Reply-To: References: From: Jim Apple Date: Wed, 12 Jul 2017 17:15:27 -0700 Message-ID: Subject: Re: Disabling all clang-tidy checks To: "dev@impala" Content-Type: multipart/alternative; boundary="94eb2c0820ecd4f682055427d62c" archived-at: Thu, 13 Jul 2017 00:23:41 -0000 --94eb2c0820ecd4f682055427d62c Content-Type: text/plain; charset="UTF-8" What about "diagnostic-henry-thinks-will-never-fire,-*,-clang-diagnostic-*"? On Wed, Jul 12, 2017 at 5:01 PM, Henry Robinson 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? > --94eb2c0820ecd4f682055427d62c--