comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Accessibility checks
Date: Fri, 19 Jul 2013 10:41:15 +0200
Date: 2013-07-19T10:41:12+02:00	[thread overview]
Message-ID: <51e8fba8$0$6566$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <lyvc48tk57.fsf@pushface.org>

On 18.07.13 09:14, Simon Wright wrote:
> Bill Findlay <yaldnif.w@blueyonder.co.uk> writes:

>> My projects have 37 occurrences of 'Access and only 2 of
>> 'Unchecked_Access.
>
> A program which constructs a partial representation of a UML model, and
> then walks the representation, used 'Access 43 times to iterate over
> containers (in Ada 2005!) and 'Unchecked_Access 38 times to construct
> the representation.

In the sources of GNAT, 'Access wins, too:

$ cat *.ads *.adb | grep -c "'Unchecked_Access"
225

$ cat *.ads *.adb | grep -c "'Access"
2156

$ cat *.ads *.adb | grep -c "'Unrestricted_Access"
998



  reply	other threads:[~2013-07-19  8:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-17 20:09 Accessibility checks Florian Weimer
2013-07-17 20:20 ` Alan Jump
2013-07-17 21:16 ` Jeffrey Carter
2013-07-17 23:44   ` Randy Brukardt
2013-07-18  0:39     ` Bill Findlay
2013-07-18  7:14       ` Simon Wright
2013-07-19  8:41         ` Georg Bauhaus [this message]
2013-07-19  4:48       ` Randy Brukardt
2013-07-22  6:11       ` ake.ragnar.dahlgren
2013-07-22  9:03         ` Bill Findlay
2013-07-24 13:01           ` ake.ragnar.dahlgren
2013-07-24 13:27             ` Dmitry A. Kazakov
2013-07-29  6:18               ` ake.ragnar.dahlgren
2013-07-18  0:41     ` Jeffrey Carter
2013-07-19  4:51       ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox