Implement the protected access restriction ([class.protected]), which requires
that protected members be used on objects of types which derive from the
naming class of the lookup.  My first N attempts at this were poorly-founded,
largely because the standard is very badly worded here.

llvm-svn: 100562
15 files changed
tree: f5aca4ad37193044a41d8ab53fae11c6954d5fa8
  1. clang/
  2. compiler-rt/
  3. llvm/