diff options
author | Bob Duff <duff@adacore.com> | 2021-05-07 10:41:03 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-07-06 14:46:53 +0000 |
commit | f037632e655c8348b06ffa797c9b1041a5a823ec (patch) | |
tree | db4781372c600674cf3ce742a34efa67d0140a71 /gcc/builtins.c | |
parent | f5063691c19a20cd3abb1c3f686ca44bea04d889 (diff) | |
download | gcc-f037632e655c8348b06ffa797c9b1041a5a823ec.zip gcc-f037632e655c8348b06ffa797c9b1041a5a823ec.tar.gz gcc-f037632e655c8348b06ffa797c9b1041a5a823ec.tar.bz2 |
[Ada] Transient scope cleanup
gcc/ada/
* sem.ads (Node_To_Be_Wrapped): Minor comment fix.
* exp_ch7.adb (Establish_Transient_Scope): Misc cleanups and
comment improvements.
(Set_Node_To_Be_Wrapped): Remove -- not worth putting this code
in a separate procedure, called only once.
* sem_util.adb (Requires_Transient_Scope): Assert that our
parameter has the right Kind. It probably shouldn't be E_Void,
but that is passed in in some cases.
(Ensure_Minimum_Decoration): Move the call later, so we know Typ
is Present, and remove "if Present (Typ)" from this procedure.
* exp_aggr.adb (Convert_To_Assignments): Use membership test,
and avoid the "if False" idiom.
(Expand_Array_Aggregate): Remove a ??? comment.
* sem_ch8.adb (Push_Scope): Take advantage of the full coverage
rules for aggregates.
* sem_res.adb (Resolve_Declare_Expression): Remove test for
Is_Type -- that's all it can be. Use named notation in call to
Establish_Transient_Scope.
* libgnat/a-cdlili.adb (Adjust): Remove redundant code.
(Clear): Remove "pragma Warnings (Off);", which wasn't actually
suppressing any warnings.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions