aboutsummaryrefslogtreecommitdiff
path: root/libcpp/directives.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-11-15 08:53:46 +0100
committerMarc Poulhiès <poulhies@adacore.com>2022-11-21 11:10:33 +0100
commitdee004a9681049a55269dfae1506f17229be83c9 (patch)
tree5d0a09219f3066b2a1a1f2429fbb7e6d67743bd3 /libcpp/directives.cc
parent76aac607c7eb53313cfd907a31cee6c5e4f550ae (diff)
downloadgcc-dee004a9681049a55269dfae1506f17229be83c9.zip
gcc-dee004a9681049a55269dfae1506f17229be83c9.tar.gz
gcc-dee004a9681049a55269dfae1506f17229be83c9.tar.bz2
ada: Small cleanup in Expand_N_Object_Declaration
This reuses a local constant more consistently, removes a duplicate of this local constant, renames local variables, alphabetizes declarations, makes a few consistency tweaks and adjusts a couple of comments. No functional changes. gcc/ada/ * exp_ch3.adb (Expand_N_Object_Declaration): Use Typ local constant throughout, remove Ret_Obj_Typ local constant, rename Ref_Type into Acc_Typ in a couple of places, remove a useless call to Set_Etype, use a consistent checks suppression scheme, adjust comments for the sake of consistencty and alphabetize some local declarations. * exp_ch6.adb (Expand_Simple_Function_Return): Remove a couple of redundant local constants.
Diffstat (limited to 'libcpp/directives.cc')
0 files changed, 0 insertions, 0 deletions