From patchwork Tue Dec 19 14:30:57 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: 181007 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1980555dyi; Tue, 19 Dec 2023 06:35:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGg910R3z6OcINtJML4BL4T4Wdmc7ytN4v5vQsOMxDFw/8ZHsNkmCP403TxCRbdcBY0hXbk X-Received: by 2002:a05:6e02:2148:b0:35f:b52d:4fb2 with SMTP id d8-20020a056e02214800b0035fb52d4fb2mr3310358ilv.92.1702996536573; Tue, 19 Dec 2023 06:35:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702996536; cv=pass; d=google.com; s=arc-20160816; b=c4KYBNhBmslgN/KUldU8LieQZGmBtXYZD7VARVh87D1mc9Ny4BSNfaGVd9f22vKPZO d1Piay2c/H28TwcrdWKP595lE/+FoHO/NfzREh006psDprejSLUiDD1Beum6zdPY3h57 dgcqOPE9NdTN28a7fFBTsvR+GGmoFlxRqgvxqAZ5xaVGmuoUXw7BkrodBBIarQzmY8U9 o8diZK1BibNv3CSKbHGNJd3a0g2nAlhWU8vJDApd9yTUV6qZfYoPpzHpRBvXvmaQCfiT 2E4h3w8l8Lel+nTRWjvM1ljz6KUv8033DM8PVC2L/v6oR8VdvSvWOqBDcw6jv3YSZeBS NLnQ== 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=TEQinZEN8Bl5qD2SLp7aMY0LVx4UFAdr7LJRAGOk8TM=; fh=QRb7QY4BZ0mIIAPiH2G4K0PcYKRtRn2i5A6VLUA8cN4=; b=tNYk56DlU4X4phiLOjg/Rd0WzPYw6M8VZ/ENy/bNKFimuk6HJhCPhaW1ivOuFfPqnM KnjFUTuEBaSKZ8R7Az2rAbuDjDJ2F/9/FxhAM27VNwr9y4lQNVXzF7CPaf5gqQdsIGb4 o8G5T06xvM5zK8cjixD/IbU9O6T7n6TZEJT7mU6L5n+WJQa8ok6LaN3RLR+9MvhM6WQk M8/TKon6Ysa59OvTO+nscJXsYZKAKZAr1jZVFCpZkg35n2o6DXyjzz8FdtYUcbpE/5eL nzipVsHPJhqykdPc4HYc8NRTLah+bfG3PZwV/FSNSPeE294vHsJ61MfVWhzWIvGHBxCF Iw1Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@adacore.com header.s=google header.b=N1x690xH; 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 ca3-20020a056122400300b0048c0c5442d4si5331723vkb.148.2023.12.19.06.35.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 06:35:36 -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=N1x690xH; 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 F0EF23894C1E for ; Tue, 19 Dec 2023 14:32:53 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id 53C79386F435 for ; Tue, 19 Dec 2023 14:31:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 53C79386F435 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 53C79386F435 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::42d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702996261; cv=none; b=thBmacquzhEFDA/w41pziKOObuVB4do0GfAFhMnqw0gPa1a+vaDytRhfc0Z/XO8SmqSCTVB7R8qzHHZ2zqhMXFaHoAg+aEvZx5odRYKuF7DonYSvPWgCsdmI+vofLBEK/mp/vKvQFch7rmJNpeMNoyppfsyy9+FLprAQdm8Cxd8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702996261; c=relaxed/simple; bh=P4W6zLSyD4he3GXaC+ODd0PGZ8CNtO80U4ic/mKP1M4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=InKBOBaXRxACl5NI0s22SD8dG7YGEMjl1TcwhIX8cgngQkBguWCZn3uON6phuOk6fs778BpVRS9KgmOOsR0hMR4Q5eiLzHT9lnvC8IJDcqWFY85OOlFnD+4rxifgFiFV5/bERyKBA5mYyvtksYkW9NBaayEzqLgW3mv6wl26PTc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-33666fb9318so2603498f8f.2 for ; Tue, 19 Dec 2023 06:31:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1702996259; x=1703601059; 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=TEQinZEN8Bl5qD2SLp7aMY0LVx4UFAdr7LJRAGOk8TM=; b=N1x690xH3ITsej+OZTr9fBxe4lZbZfxLyVMQJLStrqjjEsBemGa2zt0ZKUiVizh23I 2tfymSU0fTk2dONoVpT+8Wz44j+4nOSOVZDXUSBp0nf22CQjE23LYMf4owhiVWf0Ozl/ ZKF+N4BWFjJP29LxKPBM+u7G7dwhC9rwl97PMjYgG4FrrrNhSXeyKOjUpQV/BS/B8y8F FN84QfRM1Yx6ilG8KxBD72vy7oWsRiv6lPfEWnd0o+4VzosB6fKo6pZoJBsbrUUdhjKh s7IdXlxvv3Qup20KfqHrZkUd5HDeHaWUekOeih7Zz6bFNF9I4wo2vyjp0wRAKSw/O8lL LoOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702996259; x=1703601059; 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=TEQinZEN8Bl5qD2SLp7aMY0LVx4UFAdr7LJRAGOk8TM=; b=DGFLgIyDkNFvcZ4YzURGaiEeAfgMthvjH3TqOIuVGepZKChN2SX6FWqlXpovtuYnlj Q0n2QKdtBPDCmzQ5GX/ghUny5LNolG+rZkexV7gcxftwaGW8H0Rl6uRxjK5YnrqZWM2P GOm16q0Y5Y+K+rBnd0pld2+1JtRBPbMuN37PCZySRI+E8GKdY29iXEblxOq84EGwHHo4 Dm+vDEi5fvQQemYlint38XUwrPRmhVgLB1ZD/SrNK1jYQ9huPCScOvBorVtaadpbL9AX zhZDuHaRSCfveOBgbFBi0LbQahFRqHI7ZTCkrjiaKgFmzzy+IG4nIiqOn7FRFv9yhUWv Xf3A== X-Gm-Message-State: AOJu0Yy4g1ZXYEwIhugSOuR2g/uzcDveeClPoNz1P1jpIwKWSbNXPQkQ uKqeA0CDsMEGpo/HM35f4aemn0aS8CfweD0iS3I= X-Received: by 2002:adf:f907:0:b0:333:42dc:d42d with SMTP id b7-20020adff907000000b0033342dcd42dmr7688042wrr.90.1702996259090; Tue, 19 Dec 2023 06:30:59 -0800 (PST) Received: from poulhies-Precision-5550.lan ([2001:861:3382:1a90:fe1e:443:c34f:edaa]) by smtp.gmail.com with ESMTPSA id l17-20020a5d4bd1000000b00336607f6630sm8516984wrt.47.2023.12.19.06.30.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 06:30:58 -0800 (PST) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: Piotr Trojanek Subject: [COMMITTED] ada: Fix style and typos in comments Date: Tue, 19 Dec 2023 15:30:57 +0100 Message-ID: <20231219143057.455747-1-poulhies@adacore.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-13.6 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: 1785721296297701375 X-GMAIL-MSGID: 1785721296297701375 From: Piotr Trojanek Code cleanup. gcc/ada/ * exp_ch9.adb, sem_ch10.adb, sem_util.adb: Fix comments. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/exp_ch9.adb | 4 ++-- gcc/ada/sem_ch10.adb | 2 +- gcc/ada/sem_util.adb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/ada/exp_ch9.adb b/gcc/ada/exp_ch9.adb index cfdab114c9b..f83c233a516 100644 --- a/gcc/ada/exp_ch9.adb +++ b/gcc/ada/exp_ch9.adb @@ -7264,7 +7264,7 @@ package body Exp_Ch9 is -- Generate: -- if K = Ada.Tags.TK_Limited_Tagged -- or else K = Ada.Tags.TK_Tagged - -- then + -- then -- Lim_Typ_Stmts -- else -- Conc_Typ_Stmts @@ -12740,7 +12740,7 @@ package body Exp_Ch9 is -- Generate: -- if K = Ada.Tags.TK_Limited_Tagged -- or else K = Ada.Tags.TK_Tagged - -- then + -- then -- Lim_Typ_Stmts -- else -- Conc_Typ_Stmts diff --git a/gcc/ada/sem_ch10.adb b/gcc/ada/sem_ch10.adb index 7cca555f276..ea9bc0d8830 100644 --- a/gcc/ada/sem_ch10.adb +++ b/gcc/ada/sem_ch10.adb @@ -4529,7 +4529,7 @@ package body Sem_Ch10 is then -- If the unit is an ancestor of the current one, it is the -- case of a private limited with clause on a child unit, and - -- the compilation of one of its descendants, In that case the + -- the compilation of one of its descendants, in that case the -- limited view is errelevant. if Limited_Present (Item) then diff --git a/gcc/ada/sem_util.adb b/gcc/ada/sem_util.adb index f8922fed322..791fa7bc12e 100644 --- a/gcc/ada/sem_util.adb +++ b/gcc/ada/sem_util.adb @@ -15980,7 +15980,7 @@ package body Sem_Util is Param_Typ := Etype (Param); end if; - -- In the case where an Itype was created for a dispatchin call, the + -- In the case where an Itype was created for a dispatching call, the -- procedure call has been rewritten. The actual may be an access to -- interface type in which case it is the designated type that is the -- controlling type.