aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_util.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/exp_util.ads')
-rw-r--r--gcc/ada/exp_util.ads7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/ada/exp_util.ads b/gcc/ada/exp_util.ads
index 99500584dd8..3fab6dd7b69 100644
--- a/gcc/ada/exp_util.ads
+++ b/gcc/ada/exp_util.ads
@@ -856,11 +856,8 @@ package Exp_Util is
-- False means that it is not known if the value is positive or negative.
function Make_Invariant_Call (Expr : Node_Id) return Node_Id;
- -- Expr is an object of a type which Has_Invariants set (and which thus
- -- also has an Invariant_Procedure set). If invariants are enabled, this
- -- function returns a call to the Invariant procedure passing Expr as the
- -- argument, and returns it unanalyzed. If invariants are not enabled,
- -- returns a null statement.
+ -- Generate a call to the Invariant_Procedure associated with the type of
+ -- expression Expr. Expr is passed as an actual parameter in the call.
function Make_Predicate_Call
(Typ : Entity_Id;