[Ada] Remove redundant guard from Find_Overlaid_Entity
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 8 Feb 2021 12:55:05 +0000 (13:55 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Jun 2021 10:19:23 +0000 (06:19 -0400)
commit9880492caa6f56e7abe10163157d0c2149d72ba4
treeb3e6df2c0812615dd3d62bae59b7b0df3d7acd64
parent86347b2d8d48fa2d18658d241f2df54665dac627
[Ada] Remove redundant guard from Find_Overlaid_Entity

gcc/ada/

* sem_util.ads (Find_Overlaid_Entity): Simplify comment for
spec.
* sem_util.adb (Find_Overlaid_Entity): Remove defensive code
from body.
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads