public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-367] [Ada] Add more dummy names in Sem_Warn.Has_Junk_Name
@ 2022-05-12 12:41 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-05-12 12:41 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:09c7e3175a16d15c7229486e9ce049b2c0daa4f1
commit r13-367-g09c7e3175a16d15c7229486e9ce049b2c0daa4f1
Author: Arnaud Charlet <charlet@adacore.com>
Date: Mon Feb 14 03:19:50 2022 -0500
[Ada] Add more dummy names in Sem_Warn.Has_Junk_Name
To sync the names used in CodePeer (and SPARK) when filtering out
warnings on e.g. unused variables.
gcc/ada/
* sem_warn.adb (Has_Junk_Name): Add more dummy names.
Diff:
---
gcc/ada/sem_warn.adb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc/ada/sem_warn.adb b/gcc/ada/sem_warn.adb
index 4d3452242bf..c8d00a5ff5b 100644
--- a/gcc/ada/sem_warn.adb
+++ b/gcc/ada/sem_warn.adb
@@ -2872,7 +2872,9 @@ package body Sem_Warn is
Match ("dummy") or else
Match ("ignore") or else
Match ("junk") or else
- Match ("unused");
+ Match ("unuse") or else
+ Match ("tmp") or else
+ Match ("temp");
end Has_Junk_Name;
--------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-12 12:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 12:41 [gcc r13-367] [Ada] Add more dummy names in Sem_Warn.Has_Junk_Name Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).