-- Defined in all entities. Set for implicitly declared subprograms
-- that require overriding or are null procedures, and are hidden by
-- a non-fully conformant homograph with the same characteristics
--- (Ada RM 8.3 12.3/2).
+-- (RM 8.3(12.3/2)).
-- Is_Hidden_Open_Scope
-- Defined in all entities. Set for a scope that contains the
-- for the arguments of a 'Read attribute reference (since the
-- scalar argument is an OUT scalar) and for the arguments of a
-- 'Has_Same_Storage or 'Overlaps_Storage attribute reference (which not
- -- considered to be reads of their prefixes and expressions, see Ada RM
- -- 13.3(73.10/3)).
+ -- considered to be reads of their prefixes and expressions, see
+ -- RM 13.3(73.10/3)).
if Validity_Checks_On and then Validity_Check_Operands
and then Id /= Attribute_Asm_Output
-- For small negative exponents, we return the reciprocal of
-- the folding of the exponentiation for the opposite (positive)
- -- exponent, as required by Ada RM 4.5.6(11/3).
+ -- exponent, as required by RM 4.5.6(11/3).
if abs Expv <= 4 then
-- non-POC components are finalized before the
-- non-POC extension components. This violates the
-- usual "finalize in reverse declaration order"
- -- principle, but that's ok (see Ada RM 7.6.1(9)).
+ -- principle, but that's ok (see RM 7.6.1(9)).
--
-- Last_POC_Call should be non-empty if the extension
-- has at least one POC. Interactions with variant
function Is_Implicit_With_Clause (Clause : Node_Id) return Boolean is
begin
-- With clauses created for ancestor units are marked as internal,
- -- however, they emulate the semantics in Ada RM 10.1.2 (6/2),
- -- where
+ -- however, they emulate the semantics in RM 10.1.2 (6/2), where
--
-- with A.B;
--
package Ada.Strings.Text_Buffers.Utils with Pure is
- -- Ada.Strings.Text_Buffers is a predefined unit (see Ada RM A.4.12).
+ -- Ada.Strings.Text_Buffers is a predefined unit (see RM A.4.12).
-- This is a GNAT-defined child unit of that parent.
subtype Character_7 is
procedure Hide_Non_Overridden_Subprograms (Typ : Entity_Id);
-- Inspect the primitive operations of type Typ and hide all pairs of
-- implicitly declared non-overridden non-fully conformant homographs
- -- (Ada RM 8.3 12.3/2).
+ -- (RM 8.3(12.3/2)).
-------------------------------------
-- Hide_Non_Overridden_Subprograms --
-- overriding. If this set contains fully conformant homographs, then
-- one is chosen arbitrarily (already done during resolution), otherwise
-- all remaining non-fully conformant homographs are hidden from
- -- visibility (Ada RM 8.3 12.3/2).
+ -- visibility (RM 8.3(12.3/2)).
if Is_Tagged_Type (E) then
Hide_Non_Overridden_Subprograms (E);
New_Overloaded_Entity (New_Subp, Derived_Type);
- -- Ada RM 6.1.1 (15): If a subprogram inherits nonconforming class-wide
+ -- RM 6.1.1(15): If a subprogram inherits nonconforming class-wide
-- preconditions and the derived type is abstract, the derived operation
-- is abstract as well if parent subprogram is not abstract or null.
-- Do not enter implicitly inherited non-overridden subprograms of
-- a tagged type back into visibility if they have non-conformant
- -- homographs (Ada RM 8.3 12.3/2).
+ -- homographs (RM 8.3(12.3/2)).
elsif Is_Hidden_Non_Overridden_Subpgm (Id) then
null;