From patchwork Tue Nov 7 09:19:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 162327 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp111320vqo; Tue, 7 Nov 2023 01:20:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPbTVHxdAmIapojqOIXzkZS317Ih1erfHzODzmdtc4x+GQQgiwaoeaGQF92jdRHcMr2UZc X-Received: by 2002:a05:622a:648:b0:41c:da4f:fa26 with SMTP id a8-20020a05622a064800b0041cda4ffa26mr31578423qtb.66.1699348815377; Tue, 07 Nov 2023 01:20:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699348815; cv=pass; d=google.com; s=arc-20160816; b=ZpxYDd1G2Pb2FIZsmRgbQowuDJ/YXCCOFwTVm0fjpfBs5FT2JiWfQGUVizPmeVI4yy SqFENu9BbPv2sCjUP9Git4TY/ndc4CBLBmOvXwuVVvVlox/86LKfe4YhuvmgdWBLle3w B+WWvJ8MnVQeB50QfnHNVvV7OhymCOsm4lJTGmckXaK8lScQr3Yc3KZ+G6yRxDKHIRVK gQda9OdbIz8HfUzqOSTJ6NbnmpcnitVHDfBtDSgeYFKNhw7zG49G9huGaCP+2ji+9m2I muQmk3INhixOd5EHzcL5iDgaIOf+2rxmPhfRCrbHLkaL7SvZZeVtzC64TFAcIcsxrkUW AEuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=C1yzhRV/jnl65etDA02avD7ZBY25saafGzNMyiPfyp8=; fh=QRb7QY4BZ0mIIAPiH2G4K0PcYKRtRn2i5A6VLUA8cN4=; b=JvllUt/a/+oMvKtrmwLAWGHutRx9LnEIeDFP6/kW8Q0iYyA7zKq30KbuAdHh8rjtAS cWhPT4ZH9pjUWfAAfwynt3M1tO9uSoAzzCazYC/hjEpu/wjRmIr4NzOUtxmHsZM8md5X EB7TeQ0hOXxNJCAfhuRoCFZh5vNYG9aLcFAKKFHAf5lMw+cwSHBt4ASELT6WiKmmxfC8 dv59xcuIgQRhJsBuKNPY7je8uQ59LEsmX6d8yibn7ArPhUCktnzF3GZiTzApljteJaMg bDHC1m+fFP8sKMn9Am9RG64L1u/hx2eCztOQB16SvGW8YjBbMlKFNb6Pp6FktNXuRK+x /S0g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@adacore.com header.s=google header.b=D81Q7yN4; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=adacore.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id w6-20020a05622a190600b0041cbd1b361fsi6682396qtc.763.2023.11.07.01.20.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 01:20:15 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@adacore.com header.s=google header.b=D81Q7yN4; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=adacore.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6A0353858407 for ; Tue, 7 Nov 2023 09:20:06 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by sourceware.org (Postfix) with ESMTPS id F294F385734B for ; Tue, 7 Nov 2023 09:19:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F294F385734B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F294F385734B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::62b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699348775; cv=none; b=Jpwq8JhwrxmWxWHXtdwzG2Km+8fvs7/VsnVMq9OY6IifszOCObfGA4q1SfxPuJHrHE9kUlFVuQ6IPrVv2zyGvZ/zAMcJ3viqNu6YFKPBLESGQ3ME6UEXKu7NTCX3l/F/eiVQcHEelpp8vTl94ymjm7qKP1nWQGwj5YAion5HyYI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699348775; c=relaxed/simple; bh=brhfso/fyQD0mu4mi4a3LKHJo2eEdcbZfASjFD6dDR0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Fpqg4MUMfp633V5YvvsV1vzO6ncJqscl+OJ2Y58IxMefI8YXZWE/7cOShEFA7m3GZWYtMNivVICAOgNzeRXcX+PM756aWALmKiWxFgRdUN47EL3PpjDlIp8tzhJoaMKcVlLhg7MderwM0RdjUsayZ7tcl+cvm/YXcc++l6AsBfQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-9dd5879a126so569241166b.3 for ; Tue, 07 Nov 2023 01:19:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1699348772; x=1699953572; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=C1yzhRV/jnl65etDA02avD7ZBY25saafGzNMyiPfyp8=; b=D81Q7yN4fyt/vwT41k2/mKYGX69f2p9VId6AwozCnbHO3WFaEMYKAAHaWCnE/M0mWR /u0OHAKJtgkEnyCjD05H3oX2y3hwzhJl0/JyKbEkttirq+iTLwBKvMbjViidmznaSB3Z 6EPM9lIvIr29sHG3PCuMzGmchUG/G4AfO1GE9EhuziIQjkWjUSxsaEDxGNkhiWoiGS3B oQss6/138J+gtuzShjoV0Z0GE9DO4OQCThiJHqe43FV41kvx3AjFsf4/Lg/PHKhcJrD9 UE/HhUZb/cxm7+ZgLvyTqjp5D9E3BfBhOZNSQ8QE0Fin/tnu2biTJhjBhrfyMQLGm3r+ uf2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699348772; x=1699953572; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C1yzhRV/jnl65etDA02avD7ZBY25saafGzNMyiPfyp8=; b=YRm/Q+/cDdmiLsBjfYd1yTn7QDnHaMYzB6qpMc1dNZzGwFmg+zgMCv/9v0VVf0YgqZ +LaovuHvTKIw7MMlzW049kLPH4U6FRZ7+7VzxrqWOs/0cgD1fqgBuuEpS0DWt8rO8ibZ 51KyW8sMWf4oAqlZhAUiicPSILYILxkh/a413geTNKlJBOUGHpEscSR8Pd4LzBS1tQ67 wFubPQdHakrpHWHIS87K/o85zd6lKXh1JDqLVoZOVzTvl3VLry7nV/pT226yRGk3RVbO O8mrUJ7CS4tP20HrmzbxJmwu6MYtqBVzdtrsv5YKGN8swIYCcJX2d/Dc5tnHb9vm7cxk opiA== X-Gm-Message-State: AOJu0YwwdxLHAEAl6ORQILytGOQ6ajFVCImpnOVgJkdKjRULyOFYqLAi y7rQRWveP366KN0bVzpQBFbPS06fUcbhUfRrqYix9w== X-Received: by 2002:a17:906:144f:b0:9db:9c5e:a9d7 with SMTP id q15-20020a170906144f00b009db9c5ea9d7mr9033448ejc.33.1699348771855; Tue, 07 Nov 2023 01:19:31 -0800 (PST) Received: from localhost.localdomain ([2001:861:3382:1a90:dbc1:a1d1:2e58:4040]) by smtp.gmail.com with ESMTPSA id m23-20020a05600c461700b004060f0a0fdbsm14568795wmo.41.2023.11.07.01.19.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 01:19:31 -0800 (PST) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: Piotr Trojanek Subject: [COMMITTED] ada: Fix style in declaration of routine for expansion of packed arrays Date: Tue, 7 Nov 2023 10:19:29 +0100 Message-ID: <20231107091929.3905481-1-poulhies@adacore.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781896383865709473 X-GMAIL-MSGID: 1781896383865709473 From: Piotr Trojanek Style cleanup. gcc/ada/ * exp_pakd.adb (Setup_Inline_Packed_Array_Reference): Remove extra whitespace from the list of parameters. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/exp_pakd.adb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gcc/ada/exp_pakd.adb b/gcc/ada/exp_pakd.adb index ad12aec1e23..2d3abbd349d 100644 --- a/gcc/ada/exp_pakd.adb +++ b/gcc/ada/exp_pakd.adb @@ -153,11 +153,11 @@ package body Exp_Pakd is -- reference the corresponding packed array type. procedure Setup_Inline_Packed_Array_Reference - (N : Node_Id; - Atyp : Entity_Id; - Obj : in out Node_Id; - Cmask : out Uint; - Shift : out Node_Id); + (N : Node_Id; + Atyp : Entity_Id; + Obj : in out Node_Id; + Cmask : out Uint; + Shift : out Node_Id); -- This procedure performs common processing on the N_Indexed_Component -- parameter given as N, whose prefix is a reference to a packed array. -- This is used for the get and set when the component size is 1, 2, 4, @@ -2472,11 +2472,11 @@ package body Exp_Pakd is ----------------------------------------- procedure Setup_Inline_Packed_Array_Reference - (N : Node_Id; - Atyp : Entity_Id; - Obj : in out Node_Id; - Cmask : out Uint; - Shift : out Node_Id) + (N : Node_Id; + Atyp : Entity_Id; + Obj : in out Node_Id; + Cmask : out Uint; + Shift : out Node_Id) is Loc : constant Source_Ptr := Sloc (N); PAT : Entity_Id;