aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch4.adb
diff options
context:
space:
mode:
authorGary Dismukes <dismukes@adacore.com>2019-12-12 13:40:50 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-02 04:58:03 -0400
commitdab8e60838bf68a159046082607fc7a1a04329f6 (patch)
tree64f8251a06fb746f5b9d60bc716f9641ec2ad5cc /gcc/ada/sem_ch4.adb
parentfb3fc196adab7147ebc146b946135197104e423d (diff)
downloadgcc-dab8e60838bf68a159046082607fc7a1a04329f6.zip
gcc-dab8e60838bf68a159046082607fc7a1a04329f6.tar.gz
gcc-dab8e60838bf68a159046082607fc7a1a04329f6.tar.bz2
[Ada] Typo corrections and minor reformatting
2020-06-02 Gary Dismukes <dismukes@adacore.com> gcc/ada/ * exp_attr.adb, par-ch4.adb, par-util.adb, scans.ads, scng.adb, sem_attr.adb, sem_ch4.adb, sinfo.ads: Typo corrections and minor reformatting.
Diffstat (limited to 'gcc/ada/sem_ch4.adb')
-rw-r--r--gcc/ada/sem_ch4.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch4.adb b/gcc/ada/sem_ch4.adb
index 702f265..6391d83 100644
--- a/gcc/ada/sem_ch4.adb
+++ b/gcc/ada/sem_ch4.adb
@@ -8290,8 +8290,8 @@ package body Sem_Ch4 is
-- the Controlled types. The code below is motivated by containers that
-- are derived from other types with a Reference aspect.
-- Note as well that we need to examine the base type, given that
- -- the container object may be a constrained subtype or itype which
- -- does not have an explicit declaration,
+ -- the container object may be a constrained subtype or itype that
+ -- does not have an explicit declaration.
elsif Is_Derived_Type (C_Type)
and then Etype (First_Formal (Entity (Func_Name))) /= Pref_Typ