gcc/ada/
* errout.ads (Adjust_Name_Case): Remove obsolete and now unused
variant.
* errout.adb (Adjust_Name_Case): Likewise; fix variant that uses
a custom buffer to also use it for names in Standard_Location.
-- For standard locations, always use mixed case
if Loc <= No_Location then
- Set_Casing (Mixed_Case);
+ Set_Casing (Buf, Mixed_Case);
else
-- Determine if the reference we are dealing with corresponds to
end;
end Adjust_Name_Case;
- procedure Adjust_Name_Case (Loc : Source_Ptr) is
- begin
- Adjust_Name_Case (Global_Name_Buffer, Loc);
- end Adjust_Name_Case;
-
---------------------------
-- Set_Identifier_Casing --
---------------------------
-- the name at that source location, we copy the casing from the source,
-- otherwise we set appropriate default casing.
- procedure Adjust_Name_Case (Loc : Source_Ptr);
- -- Uses Buf => Global_Name_Buffer. There are no calls to this in the
- -- compiler, but it is called in SPARK 2014.
-
procedure Set_Identifier_Casing
(Identifier_Name : System.Address;
File_Name : System.Address);