[Ada] Refactor repeated code for size attributes
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 23:05:44 +0000 (00:05 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:52 +0000 (06:41 -0500)
commit7addd1cec71610bdad23a261e6c2e516eddb3aab
treed15fc01b62ff0562fd4eaad563ceb07403191618
parent57d5ceda2f8669bd36be135176e9e7ee416df7df
[Ada] Refactor repeated code for size attributes

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge identical code for
Size, Object_Size and Value_Size attributes.
gcc/ada/sem_attr.adb