[Ada] Add Evaluable_Kind and Global_Name_Kind
gcc/ada/ * gen_il-gen-gen_entities.adb (Evaluable_Kind, Global_Name_Kind): Add. * gen_il-types.ads (Evaluable_Kind, Global_Name_Kind): Likewise.
This commit is contained in:
parent
8279a1125f
commit
ddd1ab30e6
2 changed files with 19 additions and 0 deletions
|
@ -1391,6 +1391,23 @@ begin -- Gen_IL.Gen.Gen_Entities
|
|||
(E_Entry,
|
||||
E_Entry_Family));
|
||||
|
||||
Union (Evaluable_Kind,
|
||||
Children =>
|
||||
(Exception_Or_Object_Kind,
|
||||
E_Enumeration_Literal,
|
||||
E_Label,
|
||||
Subprogram_Kind));
|
||||
-- Kinds that represent values that can be evaluated
|
||||
|
||||
Union (Global_Name_Kind,
|
||||
Children =>
|
||||
(Constant_Or_Variable_Kind,
|
||||
E_Exception,
|
||||
E_Package,
|
||||
Subprogram_Kind));
|
||||
-- Kinds that can have an Interface_Name that corresponds to a global
|
||||
-- (linker) name.
|
||||
|
||||
Union (Named_Access_Kind,
|
||||
Children =>
|
||||
(E_Access_Type,
|
||||
|
|
|
@ -152,6 +152,7 @@ package Gen_IL.Types is
|
|||
Elementary_Kind,
|
||||
Enumeration_Kind,
|
||||
Entry_Kind,
|
||||
Evaluable_Kind,
|
||||
Exception_Or_Object_Kind,
|
||||
Fixed_Point_Kind,
|
||||
Float_Kind,
|
||||
|
@ -159,6 +160,7 @@ package Gen_IL.Types is
|
|||
Formal_Object_Kind,
|
||||
Generic_Subprogram_Kind,
|
||||
Generic_Unit_Kind,
|
||||
Global_Name_Kind,
|
||||
Incomplete_Kind,
|
||||
Incomplete_Or_Private_Kind,
|
||||
Integer_Kind,
|
||||
|
|
Loading…
Add table
Reference in a new issue