From: Arnaud Charlet Date: Tue, 1 Dec 2020 14:53:35 +0000 (-0500) Subject: [Ada] Code cleanup: rename ALI.Scope X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c4aefb6818bf0850a3c3263e66fbf9673f069fd;p=gcc.git [Ada] Code cleanup: rename ALI.Scope gcc/ada/ * ali.ads, ali.adb, bindo-writers.adb, lib-writ.adb (Scope): Renamed to IS_Scope. --- diff --git a/gcc/ada/ali.adb b/gcc/ada/ali.adb index 3bf12578b73..f213c301c0c 100644 --- a/gcc/ada/ali.adb +++ b/gcc/ada/ali.adb @@ -3814,15 +3814,15 @@ package body ALI is return No_ALI_Id; end Scan_ALI; - ----------- - -- Scope -- - ----------- + -------------- + -- IS_Scope -- + -------------- - function Scope (IS_Id : Invocation_Signature_Id) return Name_Id is + function IS_Scope (IS_Id : Invocation_Signature_Id) return Name_Id is begin pragma Assert (Present (IS_Id)); return Invocation_Signatures.Table (IS_Id).Scope; - end Scope; + end IS_Scope; --------- -- SEq -- diff --git a/gcc/ada/ali.ads b/gcc/ada/ali.ads index 928fdbd1e9f..ccb516f34a2 100644 --- a/gcc/ada/ali.ads +++ b/gcc/ada/ali.ads @@ -1350,8 +1350,8 @@ package ALI is pragma Inline (Name); -- Obtain the name of invocation signature IS_Id - function Scope (IS_Id : Invocation_Signature_Id) return Name_Id; - pragma Inline (Scope); + function IS_Scope (IS_Id : Invocation_Signature_Id) return Name_Id; + pragma Inline (IS_Scope); -- Obtain the scope of invocation signature IS_Id procedure Set_Invocation_Graph_Encoding diff --git a/gcc/ada/bindo-writers.adb b/gcc/ada/bindo-writers.adb index cca6687f5f4..926fb82b370 100644 --- a/gcc/ada/bindo-writers.adb +++ b/gcc/ada/bindo-writers.adb @@ -222,7 +222,7 @@ package body Bindo.Writers is Write_Eol; Write_Str (" Scope = "); - Write_Name (Scope (IS_Id)); + Write_Name (IS_Scope (IS_Id)); Write_Eol; end Write_Invocation_Signature; diff --git a/gcc/ada/lib-writ.adb b/gcc/ada/lib-writ.adb index f5b9e3032c8..16449e87e98 100644 --- a/gcc/ada/lib-writ.adb +++ b/gcc/ada/lib-writ.adb @@ -1724,7 +1724,7 @@ package body Lib.Writ is -- scope - Write_Info_Name (Scope (IS_Id)); + Write_Info_Name (IS_Scope (IS_Id)); Write_Info_Char (' '); -- line