public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-531] [Ada] Typo fix in finalization comment
@ 2022-05-17 8:28 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-05-17 8:28 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:98208e364c10f71a1609b93959cc81e1e2549163
commit r13-531-g98208e364c10f71a1609b93959cc81e1e2549163
Author: Marc Poulhiès <poulhies@adacore.com>
Date: Fri Mar 18 16:11:41 2022 +0100
[Ada] Typo fix in finalization comment
Add missing 's' and reformat the comment block.
gcc/ada/
* exp_ch7.adb: Fix typo.
Diff:
---
gcc/ada/exp_ch7.adb | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gcc/ada/exp_ch7.adb b/gcc/ada/exp_ch7.adb
index ae3663ecdf6..74343646515 100644
--- a/gcc/ada/exp_ch7.adb
+++ b/gcc/ada/exp_ch7.adb
@@ -157,14 +157,14 @@ package body Exp_Ch7 is
-- Finalization Management --
-----------------------------
- -- This part describe how Initialization/Adjustment/Finalization procedures
- -- are generated and called. Two cases must be considered, types that are
- -- Controlled (Is_Controlled flag set) and composite types that contain
- -- controlled components (Has_Controlled_Component flag set). In the first
- -- case the procedures to call are the user-defined primitive operations
- -- Initialize/Adjust/Finalize. In the second case, GNAT generates
- -- Deep_Initialize, Deep_Adjust and Deep_Finalize that are in charge
- -- of calling the former procedures on the controlled components.
+ -- This part describes how Initialization/Adjustment/Finalization
+ -- procedures are generated and called. Two cases must be considered: types
+ -- that are Controlled (Is_Controlled flag set) and composite types that
+ -- contain controlled components (Has_Controlled_Component flag set). In
+ -- the first case the procedures to call are the user-defined primitive
+ -- operations Initialize/Adjust/Finalize. In the second case, GNAT
+ -- generates Deep_Initialize, Deep_Adjust and Deep_Finalize that are in
+ -- charge of calling the former procedures on the controlled components.
-- For records with Has_Controlled_Component set, a hidden "controller"
-- component is inserted. This controller component contains its own
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-17 8:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-17 8:28 [gcc r13-531] [Ada] Typo fix in finalization comment Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).