ada: Reuse idiomatic procedure in CStand
commit0321dae0b83ad42148d2b340d7a79ccee757c541
authorRonan Desplanques <desplanques@adacore.com>
Thu, 9 Feb 2023 22:00:41 +0000 (9 23:00 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 22 May 2023 08:46:13 +0000 (22 10:46 +0200)
tree238236163166d33115b2635393892086089d106a
parent014f7f3a7075be6e6d02186f4aad53200ebaafa8
ada: Reuse idiomatic procedure in CStand

This change replaces a call to Set_Name_Entity_Id with a call to
the higher-level Set_Current_Entity.

gcc/ada/

* cstand.adb: Use more idiomatic procedure.
gcc/ada/cstand.adb