From 1f159b86c1e9ca2df09d6655fc9ad836d5c133e9 Mon Sep 17 00:00:00 2001 From: Bob Duff Date: Wed, 3 Jul 2019 08:14:29 +0000 Subject: [PATCH] [Ada] Spell "laid" correctly 2019-07-03 Bob Duff gcc/ada/ * einfo.ads, exp_util.adb, layout.ads, sinfo.ads: Spell "laid" correctly. From-SVN: r272970 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/einfo.ads | 4 ++-- gcc/ada/exp_util.adb | 6 +++--- gcc/ada/layout.ads | 2 +- gcc/ada/sinfo.ads | 8 ++++---- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 0af3e419fea..55691b66383 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2019-07-03 Bob Duff + + * einfo.ads, exp_util.adb, layout.ads, sinfo.ads: Spell "laid" + correctly. + 2019-07-03 Ed Schonberg * sem_ch13.adb (Analyze_Attribute_Definition_Clause): No error diff --git a/gcc/ada/einfo.ads b/gcc/ada/einfo.ads index 70d374b6843..9dc6cc24799 100644 --- a/gcc/ada/einfo.ads +++ b/gcc/ada/einfo.ads @@ -3779,7 +3779,7 @@ package Einfo is -- Optimize_Alignment_Space (Flag241) -- Defined in type, subtype, variable, and constant entities. This --- flag records that the type or object is to be layed out in a manner +-- flag records that the type or object is to be laid out in a manner -- consistent with Optimize_Alignment (Space) mode. The compiler and -- binder ensure a consistent view of any given type or object. If pragma -- Optimize_Alignment (Off) mode applies to the type/object, then neither @@ -3787,7 +3787,7 @@ package Einfo is -- Optimize_Alignment_Time (Flag242) -- Defined in type, subtype, variable, and constant entities. This --- flag records that the type or object is to be layed out in a manner +-- flag records that the type or object is to be laid out in a manner -- consistent with Optimize_Alignment (Time) mode. The compiler and -- binder ensure a consistent view of any given type or object. If pragma -- Optimize_Alignment (Off) mode applies to the type/object, then neither diff --git a/gcc/ada/exp_util.adb b/gcc/ada/exp_util.adb index b127f036e53..6b884ef384c 100644 --- a/gcc/ada/exp_util.adb +++ b/gcc/ada/exp_util.adb @@ -8258,8 +8258,8 @@ package body Exp_Util is return False; end if; - -- Here we have a tagged type, see if it has any unlayed out fields - -- other than a possible tag and parent fields. If so, we return False. + -- Here we have a tagged type, see if it has any component (other than + -- tag and parent) with no component_clause. If so, we return False. Comp := First_Component (U); while Present (Comp) loop @@ -8273,7 +8273,7 @@ package body Exp_Util is end if; end loop; - -- All components are layed out + -- All components have clauses return True; end Is_Fully_Repped_Tagged_Type; diff --git a/gcc/ada/layout.ads b/gcc/ada/layout.ads index c38d5293dfc..81162c11109 100644 --- a/gcc/ada/layout.ads +++ b/gcc/ada/layout.ads @@ -34,7 +34,7 @@ package Layout is -- The following procedures are called from Freeze, so all entities -- for types and objects that get frozen (which should be all such - -- entities which are seen by the back end) will get layed out by one + -- entities which are seen by the back end) will get laid out by one -- of these two procedures. procedure Layout_Type (E : Entity_Id); diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads index b0f992b230c..b3e1309882d 100644 --- a/gcc/ada/sinfo.ads +++ b/gcc/ada/sinfo.ads @@ -2857,7 +2857,7 @@ package Sinfo is -- Einfo. -- Note: N_Defining_Identifier is an extended node whose fields are - -- deliberately layed out to match the layout of fields in an ordinary + -- deliberately laid out to match the layout of fields in an ordinary -- N_Identifier node allowing for easy alteration of an identifier -- node into a defining identifier node. For details, see procedure -- Sinfo.CN.Change_Identifier_To_Defining_Identifier. @@ -3204,7 +3204,7 @@ package Sinfo is -- in package Einfo. -- Note: N_Defining_Character_Literal is an extended node whose fields - -- are deliberate layed out to match the layout of fields in an ordinary + -- are deliberate laid out to match the layout of fields in an ordinary -- N_Character_Literal node allowing for easy alteration of a character -- literal node into a defining character literal node. For details, see -- Sinfo.CN.Change_Character_Literal_To_Defining_Character_Literal. @@ -5429,7 +5429,7 @@ package Sinfo is -- in package Einfo. -- Note: N_Defining_Operator_Symbol is an extended node whose fields - -- are deliberately layed out to match the layout of fields in an + -- are deliberately laid out to match the layout of fields in an -- ordinary N_Operator_Symbol node allowing for easy alteration of -- an operator symbol node into a defining operator symbol node. -- See Sinfo.CN.Change_Operator_Symbol_To_Defining_Operator_Symbol @@ -8035,7 +8035,7 @@ package Sinfo is -- of this node, leaving the N_Selected_Component node used only when -- the prefix is a record or protected type. - -- The fields of the N_Expanded_Name node are layed out identically + -- The fields of the N_Expanded_Name node are laid out identically -- to those of the N_Selected_Component node, allowing conversion of -- an expanded name node to a selected component node to be done -- easily, see Sinfo.CN.Change_Selected_Component_To_Expanded_Name. -- 2.30.2