exp_util.adb, [...] (Entity_Of): Moved to Sem_Util.
authorHristian Kirtchev <kirtchev@adacore.com>
Thu, 17 Oct 2013 14:00:46 +0000 (14:00 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 17 Oct 2013 14:00:46 +0000 (16:00 +0200)
commit275d8313ba039f364823a74727002c3d897dbb2a
tree52fd5b0e30aa03f790606a602eb60aea70209bbc
parent064f4527c45595301de59346f8bf3e200a93f966
exp_util.adb, [...] (Entity_Of): Moved to Sem_Util.

2013-10-17  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_util.adb, exp_util.ads (Entity_Of): Moved to Sem_Util.
* sem_prag.adb (Analyze_Global_In_Decl_List): Mark a null
item list as being analyzed.
(Analyze_Global_List): Mark a
null global list and multiple global items as being analyzed.
(Analyze_Input_Item): Check the unit that defines the input
variable or state, not the reference to it.
* sem_util.ads, sem_util.adb (Entity_Of): Moved from Exp_Util. Ensure
that the input has an entity.

From-SVN: r203764
gcc/ada/ChangeLog
gcc/ada/exp_util.adb
gcc/ada/exp_util.ads
gcc/ada/sem_prag.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads