aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/a-cfhase.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2011-08-02 11:48:59 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2011-08-02 11:48:59 +0200
commit83fa09c5beeee4a76ec6910e1ca38577d5373a60 (patch)
tree09a5325d1b7dc17d4bf8fbdfe66388bad42e945f /gcc/ada/a-cfhase.ads
parentd11cfaf8ee1f758ccbeda3eb23c22042e3b7b1d2 (diff)
downloadgcc-83fa09c5beeee4a76ec6910e1ca38577d5373a60.zip
gcc-83fa09c5beeee4a76ec6910e1ca38577d5373a60.tar.gz
gcc-83fa09c5beeee4a76ec6910e1ca38577d5373a60.tar.bz2
[multiple changes]
2011-08-02 Yannick Moy <moy@adacore.com> * a-cfdlli.ads, a-cfhase.ads, a-cforma.ads, a-cfhama.ads, a-cforse.ads: Update comments. 2011-08-02 Ed Schonberg <schonberg@adacore.com> * sem_attr.adb: add attribute name when 'Result has the wrong prefix. From-SVN: r177113
Diffstat (limited to 'gcc/ada/a-cfhase.ads')
-rw-r--r--gcc/ada/a-cfhase.ads7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/a-cfhase.ads b/gcc/ada/a-cfhase.ads
index a3e4179..b9da734e 100644
--- a/gcc/ada/a-cfhase.ads
+++ b/gcc/ada/a-cfhase.ads
@@ -43,11 +43,16 @@
-- which is not possible if cursors encapsulate an access to the underlying
-- container.
--- There are two new functions:
+-- There are three new functions:
+-- function Strict_Equal (Left, Right : Set) return Boolean;
-- function Left (Container : Set; Position : Cursor) return Set;
-- function Right (Container : Set; Position : Cursor) return Set;
+-- Strict_Equal returns True if the containers are physically equal,
+-- meaning that they are structurally equal (function "=" returns True)
+-- and that they have the same set of cursors.
+
-- Left returns a container containing all elements preceding Position
-- (excluded) in Container. Right returns a container containing all
-- elements following Position (included) in Container. These two new