[Ada] Minor internal cleanup in repinfo unit
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 28 May 2018 08:52:42 +0000 (08:52 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 28 May 2018 08:52:42 +0000 (08:52 +0000)
commit7672ab42ccdedf12b8bab23309e86e7a393e9d99
treebc1d4c56947b01310de308308b772aaa82842a5b
parent121dec88595057b7019dbffdca2ad80b8fd2f40c
[Ada] Minor internal cleanup in repinfo unit

This steamlines a bit the implementation.  No functional changes.

2018-05-28  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* repinfo.adb (List_Array_Info): Start with an explicit blank line and
end with the linker section, if any.
(List_Entities): Do not output the linker section for record types,
array types and variables.
(Print_Expr): Factor out common processing for unary operators and
special values.  Adjust and reorder the various cases.
(List_Object_Info): End with the linker section, if any.
(List_Record_Info): Likewise.
(List_Type_Info): Do not start with a blank line.

From-SVN: r260815
gcc/ada/ChangeLog
gcc/ada/repinfo.adb