[Ada] Simplify membership test for operators
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 2 Jul 2020 12:05:30 +0000 (14:05 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 19 Oct 2020 09:53:34 +0000 (05:53 -0400)
commit5a36f3d9b8693e9ec5e153000cc2e9fa40c47cab
treec1fb94aaa29970a0af2671cac8e41bb2cb071c48
parent00bccdf048803a264b4707ac0d23f0bfa0c1edaf
[Ada] Simplify membership test for operators

gcc/ada/

* exp_ch6.adb (May_Fold): Detect all operators, i.e. both binary
and unary ones.
gcc/ada/exp_ch6.adb