summaryrefslogtreecommitdiff
path: root/gcc/ada/atree.ads
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2021-02-24 19:39:21 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-06-15 06:19:09 -0400
commited17bbe3c3ac0a5afd866030d88dce3f6d5a2730 (patch)
tree58d8d0a5e8d59e0a3a1e69b7b0f4d893589c80d5 /gcc/ada/atree.ads
parent008153c8435ca3bf587e11654c31f05c0f99b43a (diff)
downloadgcc-ed17bbe3c3ac0a5afd866030d88dce3f6d5a2730.tar.gz
[Ada] Robust switching from incomplete to access types
gcc/ada/ * sem_ch3.adb (Access_Type_Declaration): Add comments to explain the ordering of Mutate_Kind and Set_Directly_Designated_Type; remove temporary setting of Ekind to E_Access_Type for building _master objects, since now the Ekind is already set to its final value. Move repeated code into Setup_Access_Type routine and use it so that Process_Subtype is executed before mutating the kind of the type entity. * gen_il-gen-gen_entities.adb (Gen_Entities): Remove Directly_Designated_Type from E_Void, E_Private_Record, E_Limited_Private_Type and Incomplete_Kind; now it only belongs to Access_Kind entities. * sem_util.adb: Minor reformatting.
Diffstat (limited to 'gcc/ada/atree.ads')
0 files changed, 0 insertions, 0 deletions