-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
4 files changed
tree: 355c8175b7c8a7acc248b35b9305c7a43fd06307
  1. clang/
  2. compiler-rt/
  3. llvm/