[Sema] Take into account the current context when checking the
authorAkira Hatanaka <ahatanaka@apple.com>
Fri, 16 Feb 2018 08:47:37 +0000 (08:47 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Fri, 16 Feb 2018 08:47:37 +0000 (08:47 +0000)
commit82443d365f2eb2558073d2c527c5da4870774f97
tree134a60fffbd3e7836ad1086ae06edb945fa38ccd
parent7331a0bf1c96a99bb47ecbdf9081e53f822eca66
[Sema] Take into account the current context when checking the
accessibility of a class member.

This fixes PR32898.

rdar://problem/33737747

Differential revision: https://reviews.llvm.org/D36918

llvm-svn: 325321
clang/lib/Sema/SemaAccess.cpp
clang/test/SemaCXX/access.cpp