aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-loop-jam.cc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2022-05-31 12:22:21 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-07-04 07:45:59 +0000
commite0cd23986ed4fcfbb71ab44959ca18299412e706 (patch)
treef0fcd54b9b2b0f7e0d6f274f280743067f307bf6 /gcc/gimple-loop-jam.cc
parenta521dc37999bed5ec1f529b4c6ba7ded09dca464 (diff)
downloadgcc-e0cd23986ed4fcfbb71ab44959ca18299412e706.zip
gcc-e0cd23986ed4fcfbb71ab44959ca18299412e706.tar.gz
gcc-e0cd23986ed4fcfbb71ab44959ca18299412e706.tar.bz2
[Ada] Refactor duplicated resolution of Count and Index attributes
Attribute Index, which was added to Ada 2022 by AI12-0143, is resolved just like attribute Count. However, code duplication rightly triggered a CodePeer warning. gcc/ada/ * sem_attr.adb (Resolve_Attribute): Refactor duplicated code for Count and Index attributes.
Diffstat (limited to 'gcc/gimple-loop-jam.cc')
0 files changed, 0 insertions, 0 deletions