diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-08-26 15:27:31 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-11-04 14:47:29 +0100 |
commit | 1207432c21a213cfac2b9499bd59367d410befe3 (patch) | |
tree | f207d5e27e46a694b0b58ed51f0e01d39304f903 /gcc/expr.cc | |
parent | fe960a3a19e47d7c2297a19758c914329c8c954e (diff) | |
download | gcc-1207432c21a213cfac2b9499bd59367d410befe3.zip gcc-1207432c21a213cfac2b9499bd59367d410befe3.tar.gz gcc-1207432c21a213cfac2b9499bd59367d410befe3.tar.bz2 |
ada: Remove redundant calls in handling of aspect specifications
Routine Set_Aspect_Specifications sets the Has_Aspect flag, so there is
no need to set this flag again afterwards.
Code cleanup; semantics is unaffected.
gcc/ada/
* aspects.adb (Relocate_Aspect): Remove call to Set_Has_Aspects.
* sem_ch12.adb (Analyze_Formal_Package_Declaration): Likewise.
* sem_util.adb (Copy_Ghost_Aspect, Copy_SPARK_Mode_Aspect):
Likewise.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions