diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2016-04-27 14:47:56 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2016-04-27 14:47:56 +0200 |
commit | caa64a44ace7776c08a1ca261380bee9a74e2dff (patch) | |
tree | ed96be4a8f89d8cd40880a2c31d6031a197f4197 /gcc/ada/sem_util.ads | |
parent | a6ac73115af92e964988677378306f5c08dd0ddf (diff) | |
download | gcc-caa64a44ace7776c08a1ca261380bee9a74e2dff.zip gcc-caa64a44ace7776c08a1ca261380bee9a74e2dff.tar.gz gcc-caa64a44ace7776c08a1ca261380bee9a74e2dff.tar.bz2 |
[multiple changes]
2016-04-27 Hristian Kirtchev <kirtchev@adacore.com>
* sem_prag.adb (Process_Atomic_Independent_Shared_Volatile): Code
cleanup. Check the original node when trying to determine the node kind
of pragma Volatile's argument to account for untagged derivations
where the type is transformed into a constrained subtype.
2016-04-27 Olivier Hainque <hainque@adacore.com>
* mkdir.c (__gnat_mkdir): Rework the vxworks section to use a
consistent posix interface on the caller side.
2016-04-27 Ed Schonberg <schonberg@adacore.com>
* sem_ch10.adb (Build_Limited_View, Decorate_Type): If this
is a limited view of a type, initialize the Limited_Dependents
field to catch misuses of the type in a client unit.
2016-04-27 Thomas Quinot <quinot@adacore.com>
* a-strunb-shared.adb (Finalize): add missing Reference call.
* s-strhas.adb: minor grammar fix and extension of comment
* sem_ch8.adb: minor whitespace fixes
2016-04-27 Ed Schonberg <schonberg@adacore.com>
* lib-xref.adb (Get_Type_Reference): Handle properly the case
of an object declaration whose type definition is a class-wide
subtype and whose expression is a function call that returns a
classwide type.
2016-04-27 Hristian Kirtchev <kirtchev@adacore.com>
* sem_util.ads, sem_util.adb (Output_Entity): New routine.
(Output_Name): New routine.
2016-04-27 Bob Duff <duff@adacore.com>
* exp_ch3.adb (Rewrite_As_Renaming): Disable previous change for now.
From-SVN: r235495
Diffstat (limited to 'gcc/ada/sem_util.ads')
-rw-r--r-- | gcc/ada/sem_util.ads | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ada/sem_util.ads b/gcc/ada/sem_util.ads index 5286ec6..0845bf7 100644 --- a/gcc/ada/sem_util.ads +++ b/gcc/ada/sem_util.ads @@ -1933,6 +1933,22 @@ package Sem_Util is -- corresponding operation of S is the original corresponding operation of -- S2. Otherwise, it is S itself. + procedure Output_Entity (Id : Entity_Id); + -- Print entity Id to standard output. The name of the entity appears in + -- fully qualified form. + -- + -- WARNING: this routine should be used in debugging scenarios such as + -- tracking down undefined symbols as it is fairly low level. + + procedure Output_Name (Nam : Name_Id; Scop : Entity_Id := Current_Scope); + -- Print name Nam to standard output. The name appears in fully qualified + -- form assuming it appears in scope Scop. Note that this may not reflect + -- the final qualification as the entity which carries the name may be + -- relocated to a different scope. + -- + -- WARNING: this routine should be used in debugging scenarios such as + -- tracking down undefined symbols as it is fairly low level. + function Policy_In_Effect (Policy : Name_Id) return Name_Id; -- Given a policy, return the policy identifier associated with it. If no -- such policy is in effect, the value returned is No_Name. |