aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2020-12-07 23:47:12 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-04-28 05:38:01 -0400
commitef1acd3f18b8d16db139cbab96d27abe0a81d7e0 (patch)
tree91f2b35da1c2d5bd4b79600ca36387e6a9e19657
parent3545103fa4c2586796e1738b19ca8cb049998951 (diff)
downloadgcc-ef1acd3f18b8d16db139cbab96d27abe0a81d7e0.zip
gcc-ef1acd3f18b8d16db139cbab96d27abe0a81d7e0.tar.gz
gcc-ef1acd3f18b8d16db139cbab96d27abe0a81d7e0.tar.bz2
[Ada] Update reference with description of type resolution
gcc/ada/ * sem_res.ads: Update reference in comment. * sem_type.ads: Fix casing in a name of a unit.
-rw-r--r--gcc/ada/sem_res.ads2
-rw-r--r--gcc/ada/sem_type.ads2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_res.ads b/gcc/ada/sem_res.ads
index 44a8487..d538566 100644
--- a/gcc/ada/sem_res.ads
+++ b/gcc/ada/sem_res.ads
@@ -31,7 +31,7 @@ with Types; use Types;
package Sem_Res is
- -- As described in Sem_Ch4, the type resolution proceeds in two phases.
+ -- As described in Sem_Type, the type resolution proceeds in two phases.
-- The first phase is a bottom up pass that is achieved during the
-- recursive traversal performed by the Analyze procedures. This phase
-- determines unambiguous types, and collects sets of possible types
diff --git a/gcc/ada/sem_type.ads b/gcc/ada/sem_type.ads
index 6c6d5eb..4dea6e2 100644
--- a/gcc/ada/sem_type.ads
+++ b/gcc/ada/sem_type.ads
@@ -85,7 +85,7 @@ package Sem_Type is
-- with the appropriate use clause. The global variable Candidate_Type is
-- set in Add_One_Interp whenever an interpretation might be legal for an
-- operator if the type were directly visible. This variable is used in
- -- sem_ch4 when no legal interpretation is found.
+ -- Sem_Ch4 when no legal interpretation is found.
Candidate_Type : Entity_Id;