]> granicus.if.org Git - clang/commit
C++ [basic.scope.hiding] allows an ordinary name to hide a non-tag
authorDouglas Gregor <dgregor@apple.com>
Sat, 23 Oct 2010 16:06:17 +0000 (16:06 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 23 Oct 2010 16:06:17 +0000 (16:06 +0000)
commit77a1a8868e03bb74412f001f32d66ce0c26afae6
treee69129b938e94153f77bc4264fffe132fcb07379
parent14bd96571ef6f0e97dc79ec4d01b547d60e8fa68
C++ [basic.scope.hiding] allows an ordinary name to hide a non-tag
name *in the same scope*, but not across scopes. Implement the
highlighted condition.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117212 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaLookup.cpp
test/CXX/basic/basic.scope/basic.scope.hiding/p2.cpp [new file with mode: 0644]