aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/errout.ads
diff options
context:
space:
mode:
authorGary Dismukes <dismukes@adacore.com>2021-01-29 20:03:34 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2021-05-07 05:28:59 -0400
commit62acd2c453976165d2a6cd48d06a7341408b7e78 (patch)
treeeb140d38af5ec472cfc9694c74caa480a1004b4f /gcc/ada/errout.ads
parentfde5868f3667b2ec0fb43c1b6f8c737be549fcce (diff)
downloadgcc-62acd2c453976165d2a6cd48d06a7341408b7e78.zip
gcc-62acd2c453976165d2a6cd48d06a7341408b7e78.tar.gz
gcc-62acd2c453976165d2a6cd48d06a7341408b7e78.tar.bz2
[Ada] Remove some ??? comments
gcc/ada/ * errout.ads (Size_Too_Small_Message): Remove low-value ??? comment. * exp_util.ads: Remove ??? in part of overall package comments and restructure comment to clarify. (Duplicate_Subexpr): Remove ??? comment that seems unnecessary. * sem_ch3.ads (Analyze_Declarations): Remove two parenthesized ??? comments and add more description of the procedure's actions. (Get_Discriminant_Value): Remove ??? comment requesting more documentation, expanding description of the function's actions. * sem_disp.ads (Check_Operation_From_Incomplete_Type): Add more semantic description of the procedure and remove ??? comment requesting such. (Propagate_Tag): Refine comment to indicate meaning of formal parameters and generally improve the spec comment (and remove ??? comment asking about the parameters).
Diffstat (limited to 'gcc/ada/errout.ads')
-rw-r--r--gcc/ada/errout.ads6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/errout.ads b/gcc/ada/errout.ads
index 6316cf4..baec3a7 100644
--- a/gcc/ada/errout.ads
+++ b/gcc/ada/errout.ads
@@ -1006,8 +1006,8 @@ package Errout is
Size_Too_Small_Message : constant String :=
"size for& too small, minimum allowed is ^";
-- This message is printed in Freeze and Sem_Ch13. We also test for it in
- -- the body of this package (see Special_Msg_Delete) ???which is somewhat
- -- questionable. The Is_Size_Too_Small_Message function tests for it by
- -- testing a prefix. The function and constant should be kept in synch.
+ -- the body of this package (see Special_Msg_Delete).
+ -- Function Is_Size_Too_Small_Message tests for it by testing a prefix.
+ -- The function and constant should be kept in synch.
end Errout;