[Ada] Minor refactoring
authorJustin Squirek <squirek@adacore.com>
Mon, 6 Apr 2020 11:53:12 +0000 (07:53 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 8 Jul 2020 14:55:50 +0000 (10:55 -0400)
commitc0ffadd6eabef9a81d00c1f926aac929b0d94d92
treea29d7a6869bc403a53b4d6e79deed7903c797c02
parent85f6d7e2d277bc7d409302673892ff2ca2c45535
[Ada] Minor refactoring

gcc/ada/

* exp_attr.adb (Expand_Attribute): Set
Stores_Attribute_Old_Prefix to generated renamings of 'Old
constants for later use in generating finalization routines.
* exp_ch7.adb (Build_Finalizer): Minor reformatting. Use "or
else" operators.
gcc/ada/exp_attr.adb
gcc/ada/exp_ch7.adb