summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-03-22 09:20:08 +0000
committerJohn McCall <rjmccall@apple.com>2010-03-22 09:20:08 +0000
commitdf8b37c3f84e601bb422e26c6fb98fb7cb611d82 (patch)
tree355c8175b7c8a7acc248b35b9305c7a43fd06307 /clang/lib/Basic/SourceManager.cpp
parente1517a084f56cd23dd4a64338e0865f53e978d9b (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud