diff options
author | Javier Miranda <miranda@adacore.com> | 2021-09-04 13:11:34 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-10-25 15:07:19 +0000 |
commit | 67397bb9888e72fe300746ee9c77b83ce367b733 (patch) | |
tree | ddcc5b047f41927b49cbf97520203812f02d6827 /gcc/ada/adaint.c | |
parent | 19e7eae5b917d782d20d59f3cbe3c344a06aafb7 (diff) | |
download | gcc-67397bb9888e72fe300746ee9c77b83ce367b733.zip gcc-67397bb9888e72fe300746ee9c77b83ce367b733.tar.gz gcc-67397bb9888e72fe300746ee9c77b83ce367b733.tar.bz2 |
[Ada] Ada 2022: Class-wide types and formal abstract subprograms
gcc/ada/
* sem_ch8.adb (Build_Class_Wide_Wrapper): Previous version split
in two subprograms to factorize its functionality:
Find_Suitable_Candidate, and Build_Class_Wide_Wrapper. These
routines are also placed in the new subprogram
Handle_Instance_With_Class_Wide_Type.
(Handle_Instance_With_Class_Wide_Type): New subprogram that
encapsulates all the code that handles instantiations with
class-wide types.
(Analyze_Subprogram_Renaming): Adjust code to invoke the new
nested subprogram Handle_Instance_With_Class_Wide_Type; adjust
documentation.
Diffstat (limited to 'gcc/ada/adaint.c')
0 files changed, 0 insertions, 0 deletions