]> granicus.if.org Git - clang/commit
When performing name lookup for the previous declaration of a field,
authorDouglas Gregor <dgregor@apple.com>
Fri, 21 Oct 2011 15:47:52 +0000 (15:47 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 21 Oct 2011 15:47:52 +0000 (15:47 +0000)
commit95e5510ee07c465abdcc458fabfd93cf09d90125
treeebab34b512df5a50e73da42bcf1c716593089859
parent7a8a2e3c7ff283bc98b5292b6a579d4fca63e36b
When performing name lookup for the previous declaration of a field,
be sure to consider all of the possible lookup results. We were
assert()'ing (but behaving correctly) for unresolved values. Fixes
PR11134 / <rdar://problem/10290422>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142652 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaTemplate/class-template-decl.cpp
test/SemaTemplate/member-access-ambig.cpp