From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AGHT+IEER8T128bHJeSm7jmBupbv/tSNTAa3cqjXlS3WMxn/TlLleGLWCCrtXbbBsGdBW87S4AUebA== 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=20Poulhi=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 Content-Transfer-Encoding: 8bit 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 List-Id: 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. -- 2.43.0