ada: Clean up call to check if aspects are present
commit11f892571c7ab4964f16c0d432e6f5a9b4a091f1
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 26 Oct 2022 07:58:47 +0000 (26 09:58 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 8 Nov 2022 08:35:03 +0000 (8 09:35 +0100)
tree4612ff1d68f622f1f07999993a396ad74005b2a4
parent45656a992eb18bfefe2e6e20d3b425afe945af28
ada: Clean up call to check if aspects are present

Code cleanup; semantics is unaffected.

gcc/ada/

* exp_ch6.adb, exp_put_image.adb, sem_aggr.adb, sem_attr.adb,
sem_ch5.adb, sem_type.adb, sem_util.adb: Replace
"Present (Find_Aspect (...))" with "Has_Aspect".
gcc/ada/exp_ch6.adb
gcc/ada/exp_put_image.adb
gcc/ada/sem_aggr.adb
gcc/ada/sem_attr.adb
gcc/ada/sem_ch5.adb
gcc/ada/sem_type.adb
gcc/ada/sem_util.adb