path: root/cparser.1
diff options
authorChristoph Mallon <>2016-03-04 10:03:51 +0100
committerChristoph Mallon <>2016-03-08 18:37:58 +0100
commit765e4b014d8f01ca11012efcd731eae91c26dcea (patch)
tree7ee57511fe76ee0ffe8a1967533f1e75fa589939 /cparser.1
parente99eae5f3bf8b99ca8e676c95208e7c59f5201f1 (diff)
Add option '-Wlabel-at-end-of-block'.
Diffstat (limited to 'cparser.1')
1 files changed, 3 insertions, 0 deletions
diff --git a/cparser.1 b/cparser.1
index 9253e67..671d261 100644
--- a/cparser.1
+++ b/cparser.1
@@ -192,6 +192,9 @@ Warn about calling a function without a prior declaration.
Warn about declarations whose declaration specifiers do not include a type specifier.
.It Fl Winit-self
Warn about uninitialized variables which are initialized with themselves.
+.It Fl Wlabel-at-end-of-block
+Warn when a label is found right before the closing brace of a compound statement, which is not allowed in C.
+Default is on as error.
.It Fl Wlong-long
.No Warn if the type So long long Sc is used .
.It Fl Wmain