[COMMITTED] ada: Remove outdated part of comment

Message ID 20230522085117.1727069-1-poulhies@adacore.com
State Accepted
Headers
Series [COMMITTED] ada: Remove outdated part of comment |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Marc Poulhiès May 22, 2023, 8:51 a.m. UTC
  From: Ronan Desplanques <desplanques@adacore.com>

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(-)
  

Patch

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