]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Remove comment about a long gone formal verification mode
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 2 Jun 2022 13:10:46 +0000 (15:10 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 5 Jul 2022 08:28:16 +0000 (08:28 +0000)
Remove outdated a comment about the very first SPARK experiments
in GNAT.

gcc/ada/

* sem_ch6.adb (Check_Missing_Return): Remove outdated comment.

gcc/ada/sem_ch6.adb

index 848c234920078e417459033f623ef0134ae32d80..5a4ba7a9290966ce56dc49671299b3fe63d9babe 100644 (file)
@@ -2987,9 +2987,7 @@ package body Sem_Ch6 is
 
       procedure Check_Missing_Return;
       --  Checks for a function with a no return statements, and also performs
-      --  the warning checks implemented by Check_Returns. In formal mode, also
-      --  verify that a function ends with a RETURN and that a procedure does
-      --  not contain any RETURN.
+      --  the warning checks implemented by Check_Returns.
 
       function Disambiguate_Spec return Entity_Id;
       --  When a primitive is declared between the private view and the full