summaryrefslogtreecommitdiff
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-19 13:17:30 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-19 13:17:30 +0000
commit479fd94ed126aae82f2d85ff9eeced8e806b583e (patch)
treef7eee68e10f2f33575f5cf93d51ddad210c31cd3 /gcc/invoke.texi
parent8ba73f901d40cd9da9f4253e249b9f3bd37eea90 (diff)
downloadgcc-479fd94ed126aae82f2d85ff9eeced8e806b583e.tar.gz
* invoke.texi (-Wshadow): Clarify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41420 138bc75d-0d04-0410-961f-82ee72b054a4
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}