diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-10-20 11:05:16 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-11-08 09:35:00 +0100 |
commit | 270713d3f65243a089f4cdee04cd689422a95530 (patch) | |
tree | 56da8b75f7771779e7157639ec240b929314130a /gcc/iterator-utils.h | |
parent | 786c6ba5a51f54c404dd491523788f7359a29a91 (diff) | |
download | gcc-270713d3f65243a089f4cdee04cd689422a95530.zip gcc-270713d3f65243a089f4cdee04cd689422a95530.tar.gz gcc-270713d3f65243a089f4cdee04cd689422a95530.tar.bz2 |
ada: Minor consistency tweaks in Sem_Ch4
This ensures that, during the analysis of the qualified expressions, type
conversions and unchecked type conversions, the determination of the type
of the node and the analysis of its expression are done in the same order.
No functional changes.
gcc/ada/
* sem_ch4.adb (Analyze_Qualified_Expression): Analyze the
expression only after setting the type.
(Analyze_Unchecked_Type_Conversion): Likewise.
(Analyze_Short_Circuit): Likewise for the operands.
(Analyze_Type_Conversion): Minor tweaks.
(Analyze_Unchecked_Expression): Likewise.
Diffstat (limited to 'gcc/iterator-utils.h')
0 files changed, 0 insertions, 0 deletions