[Ada] Removal of technical debt
authorJustin Squirek <squirek@adacore.com>
Mon, 19 Jul 2021 19:13:49 +0000 (15:13 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 22 Sep 2021 15:01:45 +0000 (15:01 +0000)
commit4b54d9393e2af43393cce9b76798617b3c3452f1
tree46fd90bdedb2564a12e0e3e86d1aff4904b8a17d
parentcbf1ffe1252430f0db0db18b0b695799bb31c242
[Ada] Removal of technical debt

gcc/ada/

* ali.adb, ali.ads (Scan_ALI): Remove use of deprecated
parameter Ignore_ED, and all specification for Lower in call to
Get_File_Name.
* ali-util.adb (Read_Withed_ALIs): Modify call to Scan_ALI.
* clean.adb (Clean_Executables): Likewise.
* gnatbind.adb (Add_Artificial_ALI_File, Executable section):
Likewise.
* gnatlink.adb (Executable section): Likewise.
* gnatls.adb (Executable section): Likewise.
* make.adb (Check, Wait_For_Available_Slot): Likewise.
* aspects.ads: Add Aspect_No_Controlled_Parts to
Nonoverridable_Aspect_Id
* opt.ads: Remove function pointers used as a workaround for
ASIS.
* osint-c.adb (Executable section): Remove setting of function
pointer workarounds needed for ASIS.
* osint.adb (Read_Default_Search_Dirs): Correct behavior to
detect EOL characters.
* par_sco.adb (Output_Header): Remove comment regarding use of
First_Sloc.
(Traverse_Sync_Definition): Renamed to
Traverse_Protected_Or_Task_Definition.
* pprint.adb (Interal_List_Name): Add description about purpose,
and refactor conditional statement.
(Prepend): Removed.
* repinfo.adb (List_Rep_Info, Write_Info_Line): Remove use of
subprogram pointer.
* scng.adb (Scan): Remove CODEFIX question, and minor comment
change.
* sem_attr.adb (Analyze_Image_Attribute): Remove special
processing for 'Img.
* sem_ch6.adb (Check_Untagged_Equality): Add RM reference.
(FCE): Add comment describing behavior.
(Is_Non_Overriding_Operation): Minor comment formatting change.
* sem_type.adb (Is_Actual_Subprogram): Add comment about
Comes_From_Source test.
(Matching_Types): Describe non-matching cases.
* sem_util.adb (Is_Confirming): Add stub case for
No_Controlled_Parts.
20 files changed:
gcc/ada/ali-util.adb
gcc/ada/ali.adb
gcc/ada/ali.ads
gcc/ada/aspects.ads
gcc/ada/clean.adb
gcc/ada/gnatbind.adb
gcc/ada/gnatlink.adb
gcc/ada/gnatls.adb
gcc/ada/make.adb
gcc/ada/opt.ads
gcc/ada/osint-c.adb
gcc/ada/osint.adb
gcc/ada/par_sco.adb
gcc/ada/pprint.adb
gcc/ada/repinfo.adb
gcc/ada/scng.adb
gcc/ada/sem_attr.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_type.adb
gcc/ada/sem_util.adb