[Ada] Reuse routines for detecting attributes Old and Result
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 26 Jul 2021 21:16:13 +0000 (23:16 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 22 Sep 2021 15:01:50 +0000 (15:01 +0000)
commitdfe93fd5f5a5e271d7f3b03984f837d8597ee3bf
tree1bbcb8a865c00b96bff7613b81a6059067be5682
parent03b6cc3b3e60379f10a4b055e431488ab10a1760
[Ada] Reuse routines for detecting attributes Old and Result

gcc/ada/

* exp_ch4.adb (Expand_N_Op_Eq): Reuse Is_Attribute_Result.
* exp_prag.adb (Expand_Attributes): Reuse Is_Attribute_Old.
gcc/ada/exp_ch4.adb
gcc/ada/exp_prag.adb