| commit | df8b37c3f84e601bb422e26c6fb98fb7cb611d82 | [log] [tgz] |
|---|---|---|
| author | John McCall <rjmccall@apple.com> | Mon Mar 22 09:20:08 2010 +0000 |
| committer | John McCall <rjmccall@apple.com> | Mon Mar 22 09:20:08 2010 +0000 |
| tree | 355c8175b7c8a7acc248b35b9305c7a43fd06307 | |
| parent | e1517a084f56cd23dd4a64338e0865f53e978d9b [diff] |
-Wshadow should only warn about parameter declarations when we're entering a function or block definition, not on every single declaration. Unfortunately we don't have previous-lookup results around when it's time to make this decision, so we have to redo the lookup. The alternative is to use delayed diagnostics. llvm-svn: 99172