summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaLookup.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-12-29 01:02:53 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-12-29 01:02:53 +0000
commit515abdd5a740de6f4acce5c5a147204d1c67b69d (patch)
treecd3bff04c0d5e6de2282261c6eb9d42fff065e6f /clang/lib/Sema/SemaLookup.cpp
parentb738855f8cc2d5b66bc0f8f06a6e17a6260e6ba5 (diff)
downloadbcm5719-llvm-515abdd5a740de6f4acce5c5a147204d1c67b69d.tar.gz
bcm5719-llvm-515abdd5a740de6f4acce5c5a147204d1c67b69d.zip
Revert r93378, which is incorrect but currently unobservable (because the
underlying declaration of a NamedDecl happens to always have the same name and identifier namespace as the decl itself today). llvm-svn: 256529
Diffstat (limited to 'clang/lib/Sema/SemaLookup.cpp')
-rw-r--r--clang/lib/Sema/SemaLookup.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp
index f56b722bcae..2aeffd82b76 100644
--- a/clang/lib/Sema/SemaLookup.cpp
+++ b/clang/lib/Sema/SemaLookup.cpp
@@ -3305,9 +3305,6 @@ public:
} // end anonymous namespace
NamedDecl *VisibleDeclsRecord::checkHidden(NamedDecl *ND) {
- // Look through using declarations.
- ND = ND->getUnderlyingDecl();
-
unsigned IDNS = ND->getIdentifierNamespace();
std::list<ShadowMap>::reverse_iterator SM = ShadowMaps.rbegin();
for (std::list<ShadowMap>::reverse_iterator SMEnd = ShadowMaps.rend();
OpenPOWER on IntegriCloud