[Ada] Code refactoring on calls to Set_Debug_Info_Needed
authorArnaud Charlet <charlet@adacore.com>
Sun, 1 Mar 2020 11:59:11 +0000 (06:59 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 9 Jun 2020 08:09:04 +0000 (04:09 -0400)
commit4228c32ab0b50e10e74ff53159894708471bcdbc
treea6103aead9b87ef970c07c50ed26250cd48a6905
parent7d4d54aa7c2d6dadcc24fb946b127bd1a179e3ec
[Ada] Code refactoring on calls to Set_Debug_Info_Needed

2020-06-09  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* sem_util.ads, sem_util.adb (Set_Debug_Info_Defining_Id): New.
* exp_ch3.adb, exp_ch8.adb: Call Set_Debug_Info_Defining_Id when
relevant.
gcc/ada/exp_ch3.adb
gcc/ada/exp_ch8.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads