From patchwork Mon May 18 07:18:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 473273 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id EB9F91401B5 for ; Mon, 18 May 2015 17:18:33 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=ZgZRVXWS; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=Ui9vQPObJiL3660dF9P9zzU3f8mAuThk4hECtyU51NE/Us X6F6Qdwj/qOZBT6AbktCawbtI8bswgMch01lHUqlMGic5dYfIap3+blvXGYcUZ7J WrIxSOKv1GSuKO20k5xh2wPYMcwbnPbnGBoHbK9w0dMNAuCANp7vCplXOC9+c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=KNLRG4KtB4WkP3BFqQLF+5dSi+I=; b=ZgZRVXWS5imyPXM1Vyh6 PyQX5GzouPX4QuaFAKLuQdcKsr/iHuDpvytoUVfzyELD/k0dk7XWWnSDJnOzRpWM ShSwPCKjf3jmUtaPiJttjE3kF51ZxJcsz/0ya9IXmi8QqF6BWrji+r23Jsu66RHS uefoyhS6xBoo/ha1LL8YKEk= Received: (qmail 10121 invoked by alias); 18 May 2015 07:18:24 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 10108 invoked by uid 89); 18 May 2015 07:18:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 18 May 2015 07:18:21 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1YuFJZ-0000vi-1o from Tom_deVries@mentor.com for gcc-patches@gcc.gnu.org; Mon, 18 May 2015 00:18:17 -0700 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-02.mgc.mentorg.com (137.202.0.106) with Microsoft SMTP Server id 14.3.224.2; Mon, 18 May 2015 08:18:16 +0100 Message-ID: <55599235.9060505@mentor.com> Date: Mon, 18 May 2015 09:18:13 +0200 From: Tom de Vries User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: GCC Patches Subject: [Committed] check_GNU_style.sh: Improve readability function calls Hi, committed as obvious. Thanks, - Tom check_GNU_style.sh: Improve readability function calls 2015-05-18 Tom de Vries * check_GNU_style.sh: Improve readability function calls. --- contrib/check_GNU_style.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/check_GNU_style.sh b/contrib/check_GNU_style.sh index 90c612f..b86c474 100755 --- a/contrib/check_GNU_style.sh +++ b/contrib/check_GNU_style.sh @@ -170,11 +170,12 @@ g 'Sentences should end with a dot. Dot, space, space, end of the comment.' \ '[[:alnum:]][[:blank:]]*\*/' vg 'There should be exactly one space between function name and parentheses.' \ - '\#define' '[[:alnum:]]([[:blank:]]{2,})?\(' + '\#define' \ + '[[:alnum:]]([[:blank:]]{2,})?\(' g 'There should be no space before closing parentheses.' \ '[[:graph:]][[:blank:]]+\)' ag 'Braces should be on a separate line.' \ - '\{' 'if[[:blank:]]\(|while[[:blank:]]\(|switch[[:blank:]]\(' - + '\{' \ + 'if[[:blank:]]\(|while[[:blank:]]\(|switch[[:blank:]]\(' -- 1.9.1