summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/warning-flags.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Misc/warning-flags.c')
-rw-r--r--clang/test/Misc/warning-flags.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Misc/warning-flags.c b/clang/test/Misc/warning-flags.c
index d7555822cc1..e61225ad20a 100644
--- a/clang/test/Misc/warning-flags.c
+++ b/clang/test/Misc/warning-flags.c
@@ -5,16 +5,16 @@ This test serves two purposes:
(1) It documents all existing warnings that currently have no associated -W flag,
and ensures that the list never grows.
-
+
If take an existing warning and add a flag, this test will fail. To
fix this test, simply remove that warning from the list below.
-
+
(2) It prevents us adding new warnings to Clang that have no -W flag. All
new warnings should have -W flags.
-
+
If you add a new warning without a flag, this test will fail. To fix
this test, simply add a warning group to that warning.
-
+
The list of warnings below should NEVER grow. It should gradually shrink to 0.
OpenPOWER on IntegriCloud