Fix for PR7694: make sure to pass in a RecordType to CheckBaseClassAccess;
fixes crashes on both valid and invalid code.  The diagnostic here could
potentially be improved, but it's good enough as-is.

llvm-svn: 109257
2 files changed
tree: bd923b4fda2c05a2599d079235150983b2c5c884
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/