diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-01-01 13:27:44 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-05-03 05:28:29 -0400 |
commit | 785d39acbff14715c307c234f8839e95950be9e0 (patch) | |
tree | b907fb19af9d6a13f7e78d0959c6e95df9441959 /libcpp | |
parent | bcc150393e16baa1a1ce37b64e2fc5e1f7a38fc3 (diff) | |
download | gcc-785d39acbff14715c307c234f8839e95950be9e0.zip gcc-785d39acbff14715c307c234f8839e95950be9e0.tar.gz gcc-785d39acbff14715c307c234f8839e95950be9e0.tar.bz2 |
[Ada] Reuse Is_Universal_Numeric_Type where possible
gcc/ada/
* exp_ch4.adb (Analyze_Number_Declaration, Expand_N_Op_Expon):
Simplify with Is_Universal_Numeric_Type.
* sem_attr.adb (Resolve_Attribute): Likewise.
* sem_ch3.adb: Likewise.
* sem_ch4.adb (Check_Common_Type, Check_Arithmetic_Pair):
Likewise.
* sem_eval.adb (Eval_Unary_Op, Test_In_Range): Likewise.
* sem_res.adb (Resolve_Arithmetic_Op, Resolve_Membership_Op,
Resolve_Op_Expon, Resolve_Unary_Op, Set_Mixed_Mode_Operand,
Set_Operand_Type): Likewise.
* sem_type.adb (Disambiguate, Find_Unique_Type): Likewise.
* sem_util.adb (Universal_Interpretation): Likewise.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions