From patchwork Thu Feb 20 10:55:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 1241356 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-519845-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=Y7KVhq2+; dkim-atps=neutral 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 48NWhL4kbcz9sPK for ; Thu, 20 Feb 2020 21:55:14 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:message-id:date:mime-version:content-type; q=dns; s= default; b=KaRL09L6c0VgO1Kqw2unq+PVEwhjfIbWzRDfksu0OROwkYv9A/KtP SEBTs81fA4J2VG+zG4D1hHR/XU6u5c93GOR9J2Q6tmGJBz9XCOlC/LYN/Q9AD0UH AOto85+5iB7ARbfzbV4/6325hF8/uAF2ytbNF+hd3TzHhtU7msCixM= 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:from :subject:to:message-id:date:mime-version:content-type; s= default; bh=s7tVe74jCW0YSHAkzr0TjqYR+L0=; b=Y7KVhq2+jj1Mnja4Riox gMP/J6t+Ibd4VNcTE/I6h2xGg3gX1sFMFIROlBz9Iiwc6v6f5JANXeUj36T/0VmW 3rjLb62RnfEWOpMpCpwqPD9VJKugCr2d+cA2EF+R+kGPMzGMsmmn83eybioZKscw BksNe/5j4PhyqLEWdNoBcHE= Received: (qmail 105325 invoked by alias); 20 Feb 2020 10:55:05 -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 105245 invoked by uid 89); 20 Feb 2020 10:55:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Feb 2020 10:55:03 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 976A7AC77 for ; Thu, 20 Feb 2020 10:55:01 +0000 (UTC) From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] Remove triling space for a warning. To: gcc-patches@gcc.gnu.org Message-ID: <75b89a4d-b8e7-f7b1-5d13-09e7aabefaed@suse.cz> Date: Thu, 20 Feb 2020 11:55:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 X-IsSubscribed: yes Hi. It's one obvious warning message fix that I'm going to install. Martin gcc/cp/ChangeLog: 2020-02-20 Martin Liska PR translation/93838 * parser.c (cp_parser_decl_specifier_seq): Remove trailing space. --- gcc/cp/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index e8a536ae22f..46841344831 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -14164,7 +14164,7 @@ cp_parser_decl_specifier_seq (cp_parser* parser, "allowed in a C++20 concept definition"); else pedwarn (token->location, 0, "C++20 concept definition syntax " - "is % = %> "); + "is % = %>"); } /* In C++20 a concept definition is just 'concept name = expr;'