]> granicus.if.org Git - clang/commit
Implement name hiding for names found through virtual base subobjects
authorDouglas Gregor <dgregor@apple.com>
Wed, 3 Mar 2010 04:38:46 +0000 (04:38 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 3 Mar 2010 04:38:46 +0000 (04:38 +0000)
commit4e6ba4be8ddeca2978da6b9bae02cbe9594f2ef4
treed6e921f652844d75e2a49f2f9e816b9699eaf635
parent492c4f998d848673d3d6c9e6416115df4036a71d
Implement name hiding for names found through virtual base subobjects
that are hidden by other derived base subobjects reached along a
lookup path that does *not* pass through the hiding subobject (C++
[class.member.lookup]p6). Fixes PR6462.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97640 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclCXX.h
lib/AST/CXXInheritance.cpp
test/CXX/class.derived/class.member.lookup/p6.cpp [new file with mode: 0644]
test/SemaCXX/member-name-lookup.cpp