aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/snames.ads-tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/snames.ads-tmpl')
-rw-r--r--gcc/ada/snames.ads-tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/snames.ads-tmpl b/gcc/ada/snames.ads-tmpl
index d6fe60b..cb07f97 100644
--- a/gcc/ada/snames.ads-tmpl
+++ b/gcc/ada/snames.ads-tmpl
@@ -147,7 +147,6 @@ package Snames is
-- Names of aspects for which there are no matching pragmas or attributes
-- so that they need to be included for aspect specification use.
- Name_Constructor : constant Name_Id := N + $;
Name_Default_Value : constant Name_Id := N + $;
Name_Default_Component_Value : constant Name_Id := N + $;
Name_Designated_Storage_Model : constant Name_Id := N + $;
@@ -956,6 +955,7 @@ package Snames is
Name_Component_Size : constant Name_Id := N + $;
Name_Compose : constant Name_Id := N + $;
Name_Constrained : constant Name_Id := N + $;
+ Name_Constructor : constant Name_Id := N + $;
Name_Count : constant Name_Id := N + $;
Name_Default_Bit_Order : constant Name_Id := N + $; -- GNAT
Name_Default_Scalar_Storage_Order : constant Name_Id := N + $; -- GNAT
@@ -1500,6 +1500,7 @@ package Snames is
Attribute_Component_Size,
Attribute_Compose,
Attribute_Constrained,
+ Attribute_Constructor,
Attribute_Count,
Attribute_Default_Bit_Order,
Attribute_Default_Scalar_Storage_Order,
@@ -2077,6 +2078,10 @@ package Snames is
-- mode. This is the mechanism for considering this pragma illegal in
-- normal GNAT programs.
+ function Is_Direct_Attribute_Definition_Name (N : Name_Id) return Boolean;
+ -- Test to see if the name N is the name of a recognized attribute and is
+ -- allowed to be directly referenced in subprogram specification.
+
function Is_Entity_Attribute_Name (N : Name_Id) return Boolean;
-- Test to see if the name N is the name of a recognized entity attribute,
-- i.e. an attribute reference that returns an entity.