[Ada] Refactor repeated code for Width attributes
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 23:18:47 +0000 (00:18 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:53 +0000 (06:41 -0500)
commitce20ff0260c24c3da9012e4226e9eb04d01a5221
tree184e54bb1cb0deea521ef55770ed2aa95591ec3b
parentbc57641099316c8dde5258e1e3f5365ef1ac35d0
[Ada] Refactor repeated code for Width attributes

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge identical code for
Wide_Wide_Width, Wide_Width and Width attributes.
gcc/ada/sem_attr.adb