path: root/cparser.1
diff options
authorChristoph Mallon <>2008-12-21 19:02:44 +0100
committerChristoph Mallon <>2008-12-21 19:02:44 +0100
commit18a1fc944eceff05ebdc0f6baab33db346cdf0a8 (patch)
treefd6739ad7a8df5615acd7b053e2eb1bedc857c00 /cparser.1
parentee85e69204c9f094e0a1bdb9d7fce26b20bad9b6 (diff)
Implement -Wshadow.
Diffstat (limited to 'cparser.1')
1 files changed, 3 insertions, 1 deletions
diff --git a/cparser.1 b/cparser.1
index 0a1f873..5f103d9 100644
--- a/cparser.1
+++ b/cparser.1
@@ -1,5 +1,5 @@
.\" Please adjust this date whenever revising the manpage.
-.Dd December 16, 2008
+.Dd December 21, 2008
.Nm cparser
@@ -203,6 +203,8 @@ Warn if cascaded comparisons appear which do not have their mathematical meaning
Warn if + or - is used as operand of << or >>, e.g. x\ +\ y\ <<\ z.
.It Fl Wredundant-decls
Warn about redundant declarations, i.e. multiple declarations of the same object or static forward declarations which have no use before their definition.
+.It Fl Wshadow
+Warn when a new declaration shadows another declaration with the same name in an outer scope.
.It Fl Wunreachable-code
Warn when the compiler determines that a statement (or in some cases a part thereof) will never be executed.
.It Fl Wunused