]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Assorted minor cleanups and tweaks
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 4 Apr 2025 18:17:28 +0000 (20:17 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 12 Jun 2025 08:37:55 +0000 (10:37 +0200)
commit657a1d152ac5b5d3ea5ef3b6b199140cc04d6620
treee0addd289ccfdce8801bdc11064b741941d3bae5
parent035fa0ded56a1c7b56f36dfd134f347f6a4a8af5
ada: Assorted minor cleanups and tweaks

There should be no functional changes.

gcc/ada/ChangeLog:

* einfo.ads (Has_Homonym): Fix inaccuracy in description.
* sem_ch8.ads (Find_Direct_Name): Remove obsolete description.
* sem_ch12.adb (Analyze_Associations): Rename I_Node parameter
into N and adjust description.
(Analyze_Subprogram_Instantiation): Add missing description.
(Contains_Instance_Of): Fix description.
(Associations): Rename Generic_Actual_Rec into Actual_Rec and
Gen_Assocs_Rec into Match_Rec.
(Analyze_One_Association): Rename I_Node parameter into N.
(Check_Fixed_Point_Warning): Rename Gen_Assocs parameter into
Match.
(Body of Associations): Minor cleanups and tweaks.
(Analyze_Associations): Rename I_Node parameter into N and
adjust implementation.
(Analyze_One_Association): Likewise.
(Analyze_Package_Instantiation): Remove obsolete code and clean up.
(Check_Fixed_Point_Warning): Rename Gen_Assocs parameter into
Match and adjust implementation.
(Freeze_Package_Instance): Simplify condition.
(Get_Unit_Instantiation_Node): Add support for instantiations of
subprograms and stop the loop properly in case of errors.
* sem_util.ads (Add_Global_Declaration): Rename N parameter into
Decl and fix description.
* sem_util.adb (Add_Global_Declaration): Rename N parameter into
Decl and adjust implementation.
gcc/ada/einfo.ads
gcc/ada/sem_ch12.adb
gcc/ada/sem_ch8.ads
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads