[Ada] Simplify Parent_Is_Boolean with subtype memberships
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 6 Nov 2020 08:43:43 +0000 (09:43 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 27 Nov 2020 09:16:04 +0000 (04:16 -0500)
commit4e6b87e933bbbf3671f02210261615076b998644
tree85bc72df25393e56702ae1bbb20ec46c9385a79b
parent586f6dd1f62c0aec857cdb6d52993a28838fc11a
[Ada] Simplify Parent_Is_Boolean with subtype memberships

gcc/ada/

* sem_res.adb (Parent_Is_Boolean): Simplify.
(Resolve_Op_Not): Reduce scope of a local variable.
gcc/ada/sem_res.adb