When building a user-defined conversion sequence, keep track of the
commit40ee8b5606ef3edcce2936e7b421cb49378fc5f9
authorDouglas Gregor <doug.gregor@gmail.com>
Thu, 20 Jan 2011 01:32:05 +0000 (20 01:32 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Thu, 20 Jan 2011 01:32:05 +0000 (20 01:32 +0000)
tree31b7d6cbf4de8c8d839f069366567391249304d2
parenta8e9cf0202416cf56c40c895099bd13fa177567b
When building a user-defined conversion sequence, keep track of the
declaration that name lookup actually found, so that we can use it for
access checking later on. Fixes <rdar://problem/8876150>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123867 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Overload.h
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaOverload.cpp
test/CXX/class.access/p4.cpp