diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-04-15 10:42:05 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-17 04:14:14 -0400 |
commit | ceb7fad635dc4cc09905b51a8d65ca7f29226892 (patch) | |
tree | 5224b1d8292191b5cc44ba56b20fe76b086708b2 /gcc/ada/einfo.adb | |
parent | cb52e9fe481fd7873fe030dada7626c972295afd (diff) | |
download | gcc-ceb7fad635dc4cc09905b51a8d65ca7f29226892.zip gcc-ceb7fad635dc4cc09905b51a8d65ca7f29226892.tar.gz gcc-ceb7fad635dc4cc09905b51a8d65ca7f29226892.tar.bz2 |
[Ada] Small cleanup throughout CStand body
2020-06-17 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* cstand.adb (Stloc): Change to a renaming.
(Staloc): Likewise.
(Build_Unsigned_Integer_Type): Remove Nam parameter, use local
constants and do not call Make_Name.
(Make_Dummy_Index): Use local constants.
(Create_Standard): Pass the name of entities as parameter in
calls to New_Standard_Entity and remove calls to Make_Name.
Adjust calls to Build_Unsigned_Integer_Type.
(Identifier_For): Use local constant.
(Make_Component): Pass the name of the component as parameter
in call to New_Standard_Entity and remove call to Make_Name.
(Make_Formal): Likewise. Rename Formal_Name parameter into
Nam and use local constant.
(Make_Name): Delete.
(New_Operator): Use local constant.
(New_Standard_Entity): Rename S parameter into Nam and build
the name here. Remove call to Make_Name.
(Register_Float_Type): Pass the name of the type as parameter
in call to New_Standard_Entity and remove call to Make_Name.
Diffstat (limited to 'gcc/ada/einfo.adb')
0 files changed, 0 insertions, 0 deletions