From patchwork Mon May 22 08:51:17 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: 97190 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1302505vqo; Mon, 22 May 2023 01:59:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6nBQybdhnZ+PQLN5gJEPAwjBfxxA6qN73Cco32BONEd3a6Wfdg+dKmIuwzelpa+onyEmXm X-Received: by 2002:a17:907:9445:b0:96a:48ed:531d with SMTP id dl5-20020a170907944500b0096a48ed531dmr10248605ejc.27.1684745968800; Mon, 22 May 2023 01:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684745968; cv=none; d=google.com; s=arc-20160816; b=Uguk8quBPdLa2fSU/gophmJY/6tzAny4RC35DWsQchevsTcg9cg4ZIcEd9fp/7TNEi eTAQYRCrUPtBr+QYRekVCv3AP03Fixdp5hswpGXQWZt8YOepXYfSgqw0PTqlJ+kOqTnI lImMAZbz60H79VBp/UMOcwOfl0RZZCt3yuhHEGBYOxgKJWuid5gFCO3FO7pxQ1eDNtEz hJ0w7fBKS6FnfPBDROjzzvv7lGxG1/yEWSENjcXzpw0OJFbTPz5CADnB8iQo7CLhxaZX 22ZE9mlqKlCaNpDj9NehHoGvy9JcDkcy6edj2jPGQJiBPOATPDwKkM0L89T9USf7yqJp XEyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=bwMQ2Y77Kv5QSbGl5QeF5xbKfCev5ZM3bwlrkOOVNrc=; b=Y2vh6Toj4ra0v13irsgtanekc4IOEmJeN1tGUyKOivg+WWanpA79/QygoREcVxKH8N uVxSlAIp9S/V3Qesx+4sC2p0nsWpz5lRuyYgeN/0R1ZXAQRBbMyp73WV/RaDXvCwz3Ph otGHkk8DFy6H3eKjo+sEGJHD9ezpsxVpcFzEsDgZkf+LHpHEICmYreQYZGfx4gFuipiP 979J508/Ny/PpliAiYDVHukn9X21nxQemfdhYwdhMnbCjlhXpFHHb5RjLSKPVqUe7CWt R1xc0UT5tO0aBbkm97sCka10vu3+RGeKHVttT0Vrcbxa3+NWBMeYpvmbGVTpg7KBoF8o gVRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=yP2y3pkA; 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=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id a18-20020a170906191200b0096f79ba937bsi2826649eje.32.2023.05.22.01.59.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 01:59:28 -0700 (PDT) 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=@gcc.gnu.org header.s=default header.b=yP2y3pkA; 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=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 68675394D8BD for ; Mon, 22 May 2023 08:54:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68675394D8BD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684745647; bh=bwMQ2Y77Kv5QSbGl5QeF5xbKfCev5ZM3bwlrkOOVNrc=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=yP2y3pkA1Z7qdTc/p/voiTsnz7xFF8PpFa6dmJa9EKFY3fwTigwXiJDnHVFuvE/YT KIGYf+uEGyWS+rSGGVekPnnAB/WER2AREOiNmHZoPKfGoQrfkWwCO/6oIrNIq26UK+ 6kayAIaDdFy2/qNUsIXOK/8KWRmWifNsDKs7jEN0= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 6F466384406B for ; Mon, 22 May 2023 08:51:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F466384406B Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3093a778089so3680920f8f.1 for ; Mon, 22 May 2023 01:51:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684745479; x=1687337479; 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=bwMQ2Y77Kv5QSbGl5QeF5xbKfCev5ZM3bwlrkOOVNrc=; b=jhb/wLP6wDp8e0ANSPqO9h+oHuaoiPGGD0IBcXhu+/hdOqNy1AqsJRaWcnr+u8vGnX Bm8W1WITKPXIw1kgX/FbkbEazn35LfYGt2OporoIf/9Yi45dfFLiMyF8cuqJBQ/xI/oN 0He9yljVwC8Knv/4gf0YAQ4oOqREAbF6tZh+qquulOA3QIRPJk3ufXJm8PRQL9S24hHq r+NQGYu35wfX/8Nq7+/45QOyolUX9EugU0oOseQK/tZa9s8jaxPrgfF5HsrzzW2Tkjae HHVC1IsMnFa8JiE5nl6JySZEmLqhHuKVaFomTZMitaWwoBu16wvq8RImEuMXHHz+FuS2 d/dA== X-Gm-Message-State: AC+VfDzfam5vV1o8+jZ4+u2Ip792TG8vcC68IZcxyJ7QuecWF9o8LZCs gyFSYcnnJBpH7H2Hfrm8MUbaxzEDe0x+jLLBOC56YQ== X-Received: by 2002:a5d:4811:0:b0:309:2e6e:78e1 with SMTP id l17-20020a5d4811000000b003092e6e78e1mr6872241wrq.49.1684745479358; Mon, 22 May 2023 01:51:19 -0700 (PDT) Received: from poulhies-Precision-5550.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id c6-20020a5d4f06000000b002e5f6f8fc4fsm7006508wru.100.2023.05.22.01.51.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 01:51:18 -0700 (PDT) To: gcc-patches@gcc.gnu.org Cc: Ronan Desplanques Subject: [COMMITTED] ada: Remove outdated part of comment Date: Mon, 22 May 2023 10:51:17 +0200 Message-Id: <20230522085117.1727069-1-poulhies@adacore.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Spam-Status: No, score=-13.5 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Marc_Poulhi=C3=A8s_via_Gcc-patches?= From: =?utf-8?q?Marc_Poulhi=C3=A8s?= Reply-To: =?utf-8?q?Marc_Poulhi=C3=A8s?= Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766584189160338369?= X-GMAIL-MSGID: =?utf-8?q?1766584189160338369?= From: Ronan Desplanques The concept of extended nodes was retired with the introduction of variable-sized node types, but a reference to that concept was left over in a comment. This change removes that reference. gcc/ada/ * atree.ads: Remove outdated part of comment. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/atree.ads | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/ada/atree.ads b/gcc/ada/atree.ads index 50f75cf4d59..329e41954dd 100644 --- a/gcc/ada/atree.ads +++ b/gcc/ada/atree.ads @@ -261,8 +261,7 @@ package Atree is function New_Entity (New_Node_Kind : Node_Kind; New_Sloc : Source_Ptr) return Entity_Id; - -- Similar to New_Node, except that it is used only for entity nodes - -- and returns an extended node. + -- Similar to New_Node, except that it is used only for entity nodes. procedure Set_Comes_From_Source_Default (Default : Boolean); -- Sets value of Comes_From_Source flag to be used in all subsequent