diff options
author | John McCall <rjmccall@apple.com> | 2010-03-22 09:20:08 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-03-22 09:20:08 +0000 |
commit | df8b37c3f84e601bb422e26c6fb98fb7cb611d82 (patch) | |
tree | 355c8175b7c8a7acc248b35b9305c7a43fd06307 /clang/lib/Basic/SourceManager.cpp | |
parent | e1517a084f56cd23dd4a64338e0865f53e978d9b (diff) | |
download | bcm5719-llvm-df8b37c3f84e601bb422e26c6fb98fb7cb611d82.tar.gz bcm5719-llvm-df8b37c3f84e601bb422e26c6fb98fb7cb611d82.zip |
-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
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions