aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2020-12-14 15:25:18 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-04-29 04:00:44 -0400
commit4002ae566b093586cde4da6790e7c7ed357f2493 (patch)
treea16bf40b5f1612797d61f927e0e7ccb4e2a60e8a /gcc
parenta5f38dd83e88a6f2325798cd46a1b5ed5107e2ce (diff)
downloadgcc-4002ae566b093586cde4da6790e7c7ed357f2493.zip
gcc-4002ae566b093586cde4da6790e7c7ed357f2493.tar.gz
gcc-4002ae566b093586cde4da6790e7c7ed357f2493.tar.bz2
[Ada] Consistent wording for permissible-vs-allowed prefix
gcc/ada/ * doc/gnat_rm/implementation_defined_attributes.rst: Change all occurrences of "permissible prefix" to "allowed prefix", for consistency. * gnat_rm.texi: Regenerate.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst20
-rw-r--r--gcc/ada/gnat_rm.texi22
2 files changed, 21 insertions, 21 deletions
diff --git a/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst b/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst
index f8d41ea..fe33dd9 100644
--- a/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst
+++ b/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst
@@ -196,7 +196,7 @@ Attribute Default_Bit_Order
.. index:: Default_Bit_Order
``Standard'Default_Bit_Order`` (``Standard`` is the only
-permissible prefix), provides the value ``System.Default_Bit_Order``
+allowed prefix), provides the value ``System.Default_Bit_Order``
as a ``Pos`` value (0 for ``High_Order_First``, 1 for
``Low_Order_First``). This is used to construct the definition of
``Default_Bit_Order`` in package ``System``.
@@ -210,7 +210,7 @@ Attribute Default_Scalar_Storage_Order
.. index:: Default_Scalar_Storage_Order
``Standard'Default_Scalar_Storage_Order`` (``Standard`` is the only
-permissible prefix), provides the current value of the default scalar storage
+allowed prefix), provides the current value of the default scalar storage
order (as specified using pragma ``Default_Scalar_Storage_Order``, or
equal to ``Default_Bit_Order`` if unspecified) as a
``System.Bit_Order`` value. This is a static attribute.
@@ -665,7 +665,7 @@ Attribute Maximum_Alignment
.. index:: Maximum_Alignment
``Standard'Maximum_Alignment`` (``Standard`` is the only
-permissible prefix) provides the maximum useful alignment value for the
+allowed prefix) provides the maximum useful alignment value for the
target. This is a static value that can be used to specify the alignment
for an object, guaranteeing that it is properly aligned in all
cases.
@@ -674,7 +674,7 @@ Attribute Max_Integer_Size
==========================
.. index:: Max_Integer_Size
-``Standard'Max_Integer_Size`` (``Standard`` is the only permissible
+``Standard'Max_Integer_Size`` (``Standard`` is the only allowed
prefix) provides the size of the largest supported integer type for
the target. The result is a static constant.
@@ -1164,7 +1164,7 @@ Attribute Storage_Unit
======================
.. index:: Storage_Unit
-``Standard'Storage_Unit`` (``Standard`` is the only permissible
+``Standard'Storage_Unit`` (``Standard`` is the only allowed
prefix) provides the same value as ``System.Storage_Unit``.
Attribute Stub_Type
@@ -1195,7 +1195,7 @@ Attribute System_Allocator_Alignment
.. index:: System_Allocator_Alignment
``Standard'System_Allocator_Alignment`` (``Standard`` is the only
-permissible prefix) provides the observable guaranted to be honored by
+allowed prefix) provides the observable guaranted to be honored by
the system allocator (malloc). This is a static value that can be used
in user storage pools based on malloc either to reject allocation
with alignment too large or to enable a realignment circuitry if the
@@ -1205,7 +1205,7 @@ Attribute Target_Name
=====================
.. index:: Target_Name
-``Standard'Target_Name`` (``Standard`` is the only permissible
+``Standard'Target_Name`` (``Standard`` is the only allowed
prefix) provides a static string value that identifies the target
for the current compilation. For GCC implementations, this is the
standard gcc target name without the terminating slash (for
@@ -1216,7 +1216,7 @@ Attribute To_Address
.. index:: To_Address
The ``System'To_Address``
-(``System`` is the only permissible prefix)
+(``System`` is the only allowed prefix)
denotes a function identical to
``System.Storage_Elements.To_Address`` except that
it is a static attribute. This means that if its argument is
@@ -1650,7 +1650,7 @@ Attribute Wchar_T_Size
======================
.. index:: Wchar_T_Size
-``Standard'Wchar_T_Size`` (``Standard`` is the only permissible
+``Standard'Wchar_T_Size`` (``Standard`` is the only allowed
prefix) provides the size in bits of the C ``wchar_t`` type
primarily for constructing the definition of this type in
package ``Interfaces.C``. The result is a static constant.
@@ -1659,6 +1659,6 @@ Attribute Word_Size
===================
.. index:: Word_Size
-``Standard'Word_Size`` (``Standard`` is the only permissible
+``Standard'Word_Size`` (``Standard`` is the only allowed
prefix) provides the value ``System.Word_Size``. The result is
a static constant.
diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi
index 417ee34..9427dcc 100644
--- a/gcc/ada/gnat_rm.texi
+++ b/gcc/ada/gnat_rm.texi
@@ -21,7 +21,7 @@
@copying
@quotation
-GNAT Reference Manual , Dec 11, 2020
+GNAT Reference Manual , Apr 12, 2021
AdaCore
@@ -10306,7 +10306,7 @@ compatible with older Ada compilers, including notably DEC Ada.
@geindex Default_Bit_Order
@code{Standard'Default_Bit_Order} (@code{Standard} is the only
-permissible prefix), provides the value @code{System.Default_Bit_Order}
+allowed prefix), provides the value @code{System.Default_Bit_Order}
as a @code{Pos} value (0 for @code{High_Order_First}, 1 for
@code{Low_Order_First}). This is used to construct the definition of
@code{Default_Bit_Order} in package @code{System}.
@@ -10323,7 +10323,7 @@ as a @code{Pos} value (0 for @code{High_Order_First}, 1 for
@geindex Default_Scalar_Storage_Order
@code{Standard'Default_Scalar_Storage_Order} (@code{Standard} is the only
-permissible prefix), provides the current value of the default scalar storage
+allowed prefix), provides the current value of the default scalar storage
order (as specified using pragma @code{Default_Scalar_Storage_Order}, or
equal to @code{Default_Bit_Order} if unspecified) as a
@code{System.Bit_Order} value. This is a static attribute.
@@ -10868,7 +10868,7 @@ this attribute.
@geindex Maximum_Alignment
@code{Standard'Maximum_Alignment} (@code{Standard} is the only
-permissible prefix) provides the maximum useful alignment value for the
+allowed prefix) provides the maximum useful alignment value for the
target. This is a static value that can be used to specify the alignment
for an object, guaranteeing that it is properly aligned in all
cases.
@@ -10880,7 +10880,7 @@ cases.
@geindex Max_Integer_Size
-@code{Standard'Max_Integer_Size} (@code{Standard} is the only permissible
+@code{Standard'Max_Integer_Size} (@code{Standard} is the only allowed
prefix) provides the size of the largest supported integer type for
the target. The result is a static constant.
@@ -11433,7 +11433,7 @@ with coprime factors (i.e. as an irreducible fraction).
@geindex Storage_Unit
-@code{Standard'Storage_Unit} (@code{Standard} is the only permissible
+@code{Standard'Storage_Unit} (@code{Standard} is the only allowed
prefix) provides the same value as @code{System.Storage_Unit}.
@node Attribute Stub_Type,Attribute System_Allocator_Alignment,Attribute Storage_Unit,Implementation Defined Attributes
@@ -11471,7 +11471,7 @@ an implicit dependency on this unit.
@geindex System_Allocator_Alignment
@code{Standard'System_Allocator_Alignment} (@code{Standard} is the only
-permissible prefix) provides the observable guaranted to be honored by
+allowed prefix) provides the observable guaranted to be honored by
the system allocator (malloc). This is a static value that can be used
in user storage pools based on malloc either to reject allocation
with alignment too large or to enable a realignment circuitry if the
@@ -11484,7 +11484,7 @@ alignment request is larger than this value.
@geindex Target_Name
-@code{Standard'Target_Name} (@code{Standard} is the only permissible
+@code{Standard'Target_Name} (@code{Standard} is the only allowed
prefix) provides a static string value that identifies the target
for the current compilation. For GCC implementations, this is the
standard gcc target name without the terminating slash (for
@@ -11498,7 +11498,7 @@ example, GNAT 5.0 on windows yields "i586-pc-mingw32msv").
@geindex To_Address
The @code{System'To_Address}
-(@code{System} is the only permissible prefix)
+(@code{System} is the only allowed prefix)
denotes a function identical to
@code{System.Storage_Elements.To_Address} except that
it is a static attribute. This means that if its argument is
@@ -11960,7 +11960,7 @@ but, unlike @code{Size}, may be set for non-first subtypes.
@geindex Wchar_T_Size
-@code{Standard'Wchar_T_Size} (@code{Standard} is the only permissible
+@code{Standard'Wchar_T_Size} (@code{Standard} is the only allowed
prefix) provides the size in bits of the C @code{wchar_t} type
primarily for constructing the definition of this type in
package @code{Interfaces.C}. The result is a static constant.
@@ -11972,7 +11972,7 @@ package @code{Interfaces.C}. The result is a static constant.
@geindex Word_Size
-@code{Standard'Word_Size} (@code{Standard} is the only permissible
+@code{Standard'Word_Size} (@code{Standard} is the only allowed
prefix) provides the value @code{System.Word_Size}. The result is
a static constant.