summaryrefslogtreecommitdiff
path: root/compilerplugins/README
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/README')
-rw-r--r--compilerplugins/README7
1 files changed, 7 insertions, 0 deletions
diff --git a/compilerplugins/README b/compilerplugins/README
index 98ac70c85ef5..2430d40fb72e 100644
--- a/compilerplugins/README
+++ b/compilerplugins/README
@@ -21,6 +21,13 @@ are found or explicitly using --enable-compiler-plugins.
The compile plugin is used during normal compilation to perform additional checks.
All warnings and errors are marked '[loplugin]' in the message.
+==== Unused variable check ====
+
+- unused parameter 'foo' [loplugin]
+- unused variable 'foo' [loplugin]
+
+Additional check for unused variables.
+
== Code documentation / howtos ==