[Ada] Refactor repeated code for Value attributes
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 24 Nov 2020 15:01:52 +0000 (16:01 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:53 +0000 (06:41 -0500)
commitb2304663888042a75a07851833519842a953cecb
tree22e03949032e5a02fe56c035691986ac37c8c89f
parent3a6021dc1de871fc561ed0a60f1446a380d77c06
[Ada] Refactor repeated code for Value attributes

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Reuse existing code for
attribute Value when analyzing attributes Wide_Value and
Wide_Wide_Value.
gcc/ada/sem_attr.adb