[Ada] Use more straightforward implementation for Current_Entity_In_Scope
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 21 Feb 2021 17:27:25 +0000 (18:27 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 16 Jun 2021 08:42:59 +0000 (04:42 -0400)
commit663e6d7960199559ebd3107a28ea1cfda3e5be00
treeadccdbdaf9d9dd4293ec53298b66a1240b6e4fb1
parent3e07c2df705ca3e8be98c708773e450e0543480b
[Ada] Use more straightforward implementation for Current_Entity_In_Scope

gcc/ada/

* sem_util.adb (Current_Entity_In_Scope): Reimplement.
gcc/ada/sem_util.adb