aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2021-11-15 16:04:25 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-12-01 10:24:42 +0000
commit49b8a94b8878438cb5a08704101aee6f7319bd8b (patch)
treeaa337e88fcdd307112b44861fc4b8c9a69c21513 /libcpp
parent17fa48b12d42fe41c4cc8782645b30acfa764141 (diff)
downloadgcc-49b8a94b8878438cb5a08704101aee6f7319bd8b.zip
gcc-49b8a94b8878438cb5a08704101aee6f7319bd8b.tar.gz
gcc-49b8a94b8878438cb5a08704101aee6f7319bd8b.tar.bz2
[Ada] Tidy up freezing code for instantiations
gcc/ada/ * sem_ch12.adb (Freeze_Subprogram_Body): Rename into... (Freeze_Subprogram_Instance): ...this and change the name of the first parameter and local variables for the sake of consistency. (Insert_Freeze_Node_For_Instance): Use local variable Par_Inst. (Install_Body): Rename into... (Freeze_Package_Instance): ...this, remove first parameter and change the name of local variables for the sake of consistency. Do not deal with the special case of incomplete actual types here and do not insert the body. (Instantiate_Package_Body): Deal with the special case of incomplete actual types here and insert the body. Call Freeze_Package_Instance only if expansion is done. (Instantiate_Subprogram_Body): Minor consistency tweak.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions