summaryrefslogtreecommitdiff
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r--gcc/invoke.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index 9762596ad79..cde251c2932 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -2135,7 +2135,8 @@ conversion warnings, for the full set use @samp{-Wconversion}.
Warn if an undefined identifier is evaluated in an @samp{#if} directive.
@item -Wshadow
-Warn whenever a local variable shadows another local variable.
+Warn whenever a local variable shadows another local variable, parameter or
+global variable or whenever a built-in function is shadowed.
@item -Wid-clash-@var{len}
Warn whenever two distinct identifiers match in the first @var{len}