[Ada] Use function and not procedure UI_Image in pretty-printing
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 8 Jan 2021 12:02:12 +0000 (13:02 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 4 May 2021 09:17:35 +0000 (05:17 -0400)
commit2ae4fcfa8708491598a32b5cc0a725d7b2ea3bf8
tree417f740542b18927bcb02d27f3362dce28016d45
parent8ee1a28114021b11a6672accd7d0ed428dac135c
[Ada] Use function and not procedure UI_Image in pretty-printing

gcc/ada/

* pprint.adb (Expr_Name): Simplify with functional variant of
UI_Image.
gcc/ada/pprint.adb