diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-04-26 15:21:00 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-30 08:29:03 +0000 |
commit | b341b8130f80c9acec384e7acc98283bccd349d2 (patch) | |
tree | 877fa8247a83be3f169c3d130028151e802b1598 /gcc/ada/frontend.adb | |
parent | 6a91be29578fa466376cd482d3abed5eb20685b4 (diff) | |
download | gcc-b341b8130f80c9acec384e7acc98283bccd349d2.zip gcc-b341b8130f80c9acec384e7acc98283bccd349d2.tar.gz gcc-b341b8130f80c9acec384e7acc98283bccd349d2.tar.bz2 |
[Ada] Deconstruct deferred references
While cleaning up and modifying code for unreferenced warnings we
removed all calls to Defer_Reference, which was the only routine that
populated the Deferred_References table. Consequently, all the code
related to this table became dead.
gcc/ada/
* lib-xref.ads (Deferred_Reference_Entry, Defer_Reference,
Process_Deferred_References, Has_Deferred_Reference): Remove
client API.
* lib-xref.adb (Deferred_References, Defer_Reference,
Has_Deferred_Reference, Process_Deferred_References): Remove
implementation.
* frontend.adb, sem_ch11.adb, sem_ch5.adb, sem_res.adb,
sem_util.adb, sem_warn.adb: Remove uses of Deferred_References.
Diffstat (limited to 'gcc/ada/frontend.adb')
-rw-r--r-- | gcc/ada/frontend.adb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/ada/frontend.adb b/gcc/ada/frontend.adb index c60234d..12c91b1 100644 --- a/gcc/ada/frontend.adb +++ b/gcc/ada/frontend.adb @@ -38,7 +38,6 @@ with Ghost; use Ghost; with Inline; use Inline; with Lib; use Lib; with Lib.Load; use Lib.Load; -with Lib.Xref; with Live; use Live; with Namet; use Namet; with Nlists; use Nlists; @@ -481,7 +480,6 @@ begin -- Output waiting warning messages - Lib.Xref.Process_Deferred_References; Sem_Warn.Output_Non_Modified_In_Out_Warnings; Sem_Warn.Output_Unreferenced_Messages; Sem_Warn.Check_Unused_Withs; |