]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/exp_attr.adb
[Ada] Transient scope cleanup
authorBob Duff <duff@adacore.com>
Mon, 17 May 2021 16:42:20 +0000 (12:42 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 7 Jul 2021 16:23:11 +0000 (16:23 +0000)
commit738a0e8dd447409a960c84cf14d05e5bdc985ea6
tree6b7aa170cc638297f723ec741b499daa3c840732
parent0dbe0e11eb75e52885a0f6894a8d3da770f87ca0
[Ada] Transient scope cleanup

gcc/ada/

* checks.adb, exp_attr.adb, exp_ch4.adb, exp_ch6.adb,
exp_ch9.adb, exp_disp.adb, exp_util.adb, inline.adb,
sem_res.adb: Change all calls to Make_Unchecked_Type_Conversion
to call Unchecked_Convert_To instead. This involves removing
New_Occurrence_Of on the first parameter, because
Unchecked_Convert_To expects a type entity, rather than the name
of one. Also, removed calls to Relocate_Node, because
Unchecked_Convert_To takes care of that.
* sinfo.ads: Change comment to be worded more firmly.
gcc/ada/checks.adb
gcc/ada/exp_attr.adb
gcc/ada/exp_ch4.adb
gcc/ada/exp_ch6.adb
gcc/ada/exp_ch9.adb
gcc/ada/exp_disp.adb
gcc/ada/exp_util.adb
gcc/ada/inline.adb
gcc/ada/sem_res.adb
gcc/ada/sinfo.ads
This page took 0.063087 seconds and 5 git commands to generate.