]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/sinput.adb
[Ada] Remove obsolete uses of Unchecked_Deallocation from Ada 83
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 9 Feb 2022 12:01:11 +0000 (13:01 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 13 May 2022 08:04:29 +0000 (08:04 +0000)
commitcb50998584eda9bbd3377d3dca6a8d264d6c4891
treee871f1069b53f814929873605f0f52d0ae3055b6
parent84f20139792e97f9fb6e10918e271c3277d0f178
[Ada] Remove obsolete uses of Unchecked_Deallocation from Ada 83

In Ada 83 the Unchecked_Deallocation was a top-level unit; since Ada 95
it is an obsolete renaming of Ada.Unchecked_Deallocation. GNAT doesn't
yet warn about uses of these obsolete renamings, but it still seems
better to avoid them.

Cleanup before adding a new instance of Unchecked_Deallocation.
Offending occurrences found with grep.

gcc/ada/

* butil.adb, sem.adb, sinput.adb, types.ads, xref_lib.adb:
Replace uses of Unchecked_Deallocation with
Ada.Unchecked_Deallocation.
* doc/gnat_ugn/gnat_and_program_execution.rst: Likewise for the
documentation; fix casing of GNAT.IO.
* gnat_ugn.texi: Regenerate.
gcc/ada/butil.adb
gcc/ada/doc/gnat_ugn/gnat_and_program_execution.rst
gcc/ada/gnat_ugn.texi
gcc/ada/sem.adb
gcc/ada/sinput.adb
gcc/ada/types.ads
gcc/ada/xref_lib.adb
This page took 0.06077 seconds and 5 git commands to generate.