ada: Add new -gnatw_q switch to usage message
authorBob Duff <duff@adacore.com>
Tue, 18 Oct 2022 12:33:47 +0000 (08:33 -0400)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 8 Nov 2022 08:34:57 +0000 (09:34 +0100)
...along with -gnatw_Q.

gcc/ada/

* usage.adb: Add -gnatw_q and -gnatw_Q.

gcc/ada/usage.adb

index 7d11ae5..642cfda 100644 (file)
@@ -567,6 +567,10 @@ begin
                                                   "record types");
    Write_Line ("        .Q*  turn off warnings for questionable layout of " &
                                                   "record types");
+   Write_Line ("        _q   turn on warnings for ignored " &
+                                                  "equality operators");
+   Write_Line ("        _Q*  turn off warnings for ignored " &
+                                                  "equality operators");
    Write_Line ("        r+   turn on warnings for redundant construct");
    Write_Line ("        R*   turn off warnings for redundant construct");
    Write_Line ("        .r+  turn on warnings for object renaming function");