[Ada] Make Incomplete_Or_Partial_View independent of the context
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 24 Feb 2021 11:29:10 +0000 (12:29 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 16 Jun 2021 08:43:00 +0000 (04:43 -0400)
commite505bf515f59e9c914101fdbd45ffeda9b51040f
tree6874c15854196f4edf09f2f6bcdb738ea187b26e
parent5c44cc1c7363ed3e5ea506bb8c3479b5d2d67342
[Ada] Make Incomplete_Or_Partial_View independent of the context

gcc/ada/

* sem_util.adb (Incomplete_Or_Partial_View): Retrieve the scope of
the parameter and use it to find its incomplete view, if any.
gcc/ada/sem_util.adb