aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch13.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2010-10-21 10:43:12 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2010-10-21 12:43:12 +0200
commit48f91b442f810e5bae8cd52bf2f84e9c0f43b948 (patch)
tree5512eeac4733915f94ed802b8a68aba0956a37c7 /gcc/ada/sem_ch13.ads
parentc9a410f028b175a6d585bfe103d64a880140148a (diff)
downloadgcc-48f91b442f810e5bae8cd52bf2f84e9c0f43b948.zip
gcc-48f91b442f810e5bae8cd52bf2f84e9c0f43b948.tar.gz
gcc-48f91b442f810e5bae8cd52bf2f84e9c0f43b948.tar.bz2
einfo.ads, einfo.adb: Add handling of predicates.
2010-10-21 Robert Dewar <dewar@adacore.com> * einfo.ads, einfo.adb: Add handling of predicates. Rework handling of invariants. * exp_ch3.adb, exp_ch4.adb, exp_util.adb, sem_ch6.adb: Minor changes to handing of invariants. * par-prag.adb: Add dummy entry for pragma Predicate * sem_ch13.adb (Analyze_Aspect_Specifications): Add processing for Predicate aspects. * sem_prag.adb: Add implementation of pragma Predicate. * snames.ads-tmpl: Add entries for pragma Predicate. 2010-10-21 Robert Dewar <dewar@adacore.com> * elists.adb: Minor reformatting. From-SVN: r165766
Diffstat (limited to 'gcc/ada/sem_ch13.ads')
-rw-r--r--gcc/ada/sem_ch13.ads13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/ada/sem_ch13.ads b/gcc/ada/sem_ch13.ads
index 46d6cb8..8d0245d 100644
--- a/gcc/ada/sem_ch13.ads
+++ b/gcc/ada/sem_ch13.ads
@@ -64,19 +64,6 @@ package Sem_Ch13 is
-- set for Typ. In some error situations no procedure is built, in which
-- case PDecl/PBody are empty on return.
- procedure Build_Predicate_Function
- (Typ : Entity_Id;
- FDecl : out Node_Id;
- FBody : out Node_Id);
- -- If Typ has predicates (indicated by Has_Predicates being set for Typ,
- -- then either there are pragma Invariant entries on the rep chain for the
- -- type (note that Predicate aspects are converted to pragam Predicate), or
- -- there are inherited aspects from a parent type, or ancestor subtypes,
- -- or interfaces. This procedure builds the spec and body for the Predicate
- -- function that tests these predicates, returning them in PDecl and Pbody
- -- and setting Predicate_Procedure for Typ. In some error situations no
- -- procedure is built, in which case PDecl/PBody are empty on return.
-
procedure Check_Record_Representation_Clause (N : Node_Id);
-- This procedure completes the analysis of a record representation clause
-- N. It is called at freeze time after adjustment of component clause bit