[Ada] Minor reorder subprogram declarations alphabetically
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 13 Jul 2020 09:47:16 +0000 (11:47 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 20 Oct 2020 07:21:26 +0000 (03:21 -0400)
gcc/ada/

* exp_util.ads: Reorder declaration.

gcc/ada/exp_util.ads

index bde640f5a4b14755dad086c18acdd6986aa99ba9..b3073bc49e9c9e13bd3d9d113a4f9b6b05505081 100644 (file)
@@ -982,6 +982,11 @@ package Exp_Util is
    --  If so, returns the value K, otherwise returns zero. The caller checks
    --  that N is of an integer type.
 
+   function Predicate_Check_In_Scope (N : Node_Id) return Boolean;
+   --  Return True if predicate checks should be generated in the current
+   --  scope on the given node. Will return False for example when the current
+   --  scope is a predefined primitive operation.
+
    procedure Process_Statements_For_Controlled_Objects (N : Node_Id);
    --  N is a node which contains a non-handled statement list. Inspect the
    --  statements looking for declarations of controlled objects. If at least
@@ -1199,11 +1204,6 @@ package Exp_Util is
    function Within_Case_Or_If_Expression (N : Node_Id) return Boolean;
    --  Determine whether arbitrary node N is within a case or an if expression
 
-   function Predicate_Check_In_Scope (N : Node_Id) return Boolean;
-   --  Return True if predicate checks should be generated in the current
-   --  scope on the given node. Will return False for example when the current
-   --  scope is a predefined primitive operation.
-
 private
    pragma Inline (Duplicate_Subexpr);
    pragma Inline (Force_Evaluation);