[Ada] Refactor repeated code for Pred and Succ attributes
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 23:17:02 +0000 (00:17 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:52 +0000 (06:41 -0500)
commitbc57641099316c8dde5258e1e3f5365ef1ac35d0
treebbe6494daf7097dae5ac64f519fdbb52f82e3951
parent7addd1cec71610bdad23a261e6c2e516eddb3aab
[Ada] Refactor repeated code for Pred and Succ attributes

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge identical code for
Pred and Succ attributes.
gcc/ada/sem_attr.adb