diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2024-01-04 19:26:12 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-07 09:55:50 +0200 |
commit | f18a632749b8b2ccfcf83454f60cfeb9958c36d2 (patch) | |
tree | ce9aa3abfae19f8408f354ad971690426feb938f /gcc/ada | |
parent | 0920e64ffa55adb063174559b274b0a521f34934 (diff) | |
download | gcc-f18a632749b8b2ccfcf83454f60cfeb9958c36d2.zip gcc-f18a632749b8b2ccfcf83454f60cfeb9958c36d2.tar.gz gcc-f18a632749b8b2ccfcf83454f60cfeb9958c36d2.tar.bz2 |
ada: Update comment about implicit inputs of Depends contract
Sync comment with the updated SPARK RM rules.
gcc/ada/
* sem_prag.adb (Collect_Global_Item): Update comment.
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/sem_prag.adb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/sem_prag.adb b/gcc/ada/sem_prag.adb index 5764992..0eb4450 100644 --- a/gcc/ada/sem_prag.adb +++ b/gcc/ada/sem_prag.adb @@ -31669,8 +31669,7 @@ package body Sem_Prag is Append_New_Elmt (Formal, Subp_Outputs); -- OUT parameters can act as inputs when the related type is - -- tagged, unconstrained array, unconstrained record, or record - -- with unconstrained components. + -- tagged, unconstrained array or unconstrained record. if Ekind (Formal) = E_Out_Parameter and then Is_Unconstrained_Or_Tagged_Item (Formal) |