aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/snames.adb-tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/snames.adb-tmpl')
-rw-r--r--gcc/ada/snames.adb-tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ada/snames.adb-tmpl b/gcc/ada/snames.adb-tmpl
index fcfd390..b5f53cd 100644
--- a/gcc/ada/snames.adb-tmpl
+++ b/gcc/ada/snames.adb-tmpl
@@ -412,6 +412,15 @@ package body Snames is
end if;
end Is_Convention_Name;
+ -----------------------------------------
+ -- Is_Direct_Attribute_Definition_Name --
+ -----------------------------------------
+
+ function Is_Direct_Attribute_Definition_Name (N : Name_Id) return Boolean is
+ begin
+ return Is_Attribute_Name (N) and then N = Name_Constructor;
+ end Is_Direct_Attribute_Definition_Name;
+
------------------------------
-- Is_Entity_Attribute_Name --
------------------------------