aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prj-attr.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-08-04 11:55:01 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-08-04 11:55:01 +0200
commit7ed571892e5a8d10c14a674e38b980f60115ceb6 (patch)
tree552c948ac38795576c199f3d5e08b5c2057d4adb /gcc/ada/prj-attr.ads
parentaf6478c843c106281461ed5fd93377e61716181d (diff)
downloadgcc-7ed571892e5a8d10c14a674e38b980f60115ceb6.zip
gcc-7ed571892e5a8d10c14a674e38b980f60115ceb6.tar.gz
gcc-7ed571892e5a8d10c14a674e38b980f60115ceb6.tar.bz2
[multiple changes]
2014-08-04 Robert Dewar <dewar@adacore.com> * prj-proc.adb, prj-part.adb, prj-strt.adb, prj.adb, prj.ads, prj-attr.adb, prj-attr.ads: Minor reformatting. 2014-08-04 Yannick Moy <moy@adacore.com> * expander.adb (Expand): Always perform special expansion in GNATprove mode, even when doing pre-analysis. 2014-08-04 Thomas Quinot <quinot@adacore.com> * repinfo.adb (List_Scalar_Storage_Order): List bit order if not default. Also list bit order if SSO is specified. Do not assume that bit order is always equal to scalar storage order. 2014-08-04 Thomas Quinot <quinot@adacore.com> * freeze.adb (Set_SSO_From_Default): Do not set scalar storage order to reverse SSO for a type that has an explicit native Bit_Order. 2014-08-04 Doug Rupp <rupp@adacore.com> * cal.c: Macro check for VxWorks7. * init.c (getpid): Likewise. * mkdir.c (__gnat_mkdir): Likewise. * sysdep.c (__gnat_is_file_not_found_error): Likewise. 2014-08-04 Gary Dismukes <dismukes@adacore.com> * exp_ch3.adb (Expand_N_Object_Declaration): Inhibit generation of an invariant check in the case where No_Initialization is set, since the object is uninitialized. 2014-08-04 Thomas Quinot <quinot@adacore.com> * snames.ads-tmpl (Default_Scalar_Storage_Order): Now an attribute name, in addition to a pragma name. * snames.adb-tmpl (Get_Pragma_Id, Is_Configuration_Pragma_Name, Is_Pragma_Name): Adjust accordingly. * sem_attr.ads, sem_attr.adb, exp_attr.adb (Attribute_Default_Scalar_Storage_Order): Add handling of new attribute. * gnat_rm.texi: Document the above. From-SVN: r213549
Diffstat (limited to 'gcc/ada/prj-attr.ads')
-rw-r--r--gcc/ada/prj-attr.ads11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/ada/prj-attr.ads b/gcc/ada/prj-attr.ads
index 5b944f9b..e821a82 100644
--- a/gcc/ada/prj-attr.ads
+++ b/gcc/ada/prj-attr.ads
@@ -109,7 +109,7 @@ package Prj.Attr is
Default : Attribute_Default_Value := Empty_Value;
-- The value of the attribute when referenced if the attribute has not
- -- been (yet) declared.
+ -- yet been declared.
end record;
-- Name and characteristics of an attribute in a package registered
@@ -197,8 +197,7 @@ package Prj.Attr is
function Attribute_Default_Of
(Attribute : Attribute_Node_Id) return Attribute_Default_Value;
-- Returns the default of the attribute, Read_Only_Value for read only
- -- attributes, Empty_Value when ndefault not specified or specified
- -- value.
+ -- attributes, Empty_Value when default not specified, or specified value.
function Optional_Index_Of (Attribute : Attribute_Node_Id) return Boolean;
-- Returns True if Attribute is a known attribute and may have an
@@ -241,14 +240,14 @@ package Prj.Attr is
In_Package : Package_Node_Id;
Attr_Kind : Defined_Attribute_Kind;
Var_Kind : Defined_Variable_Kind;
- Index_Is_File_Name : Boolean := False;
- Opt_Index : Boolean := False;
+ Index_Is_File_Name : Boolean := False;
+ Opt_Index : Boolean := False;
Default : Attribute_Default_Value := Empty_Value);
-- Add a new attribute to registered package In_Package. Fails if Name
-- (the attribute name) is empty, if In_Package is Empty_Package or if
-- the attribute name has a duplicate name. See definition of type
-- Attribute_Data above for the meaning of parameters Attr_Kind, Var_Kind,
- -- Index_Is_File_Name, Opt_Index and Default.
+ -- Index_Is_File_Name, Opt_Index, and Default.
function Package_Node_Id_Of (Name : Name_Id) return Package_Node_Id;
-- Returns the package node id of the package with name Name. Returns