Lines Matching refs:ECRecord
754 const CXXRecordDecl *ECRecord = *I; in HasAccess() local
758 if (ECRecord == NamingClass) in HasAccess()
761 if (EC.isDependent() && MightInstantiateTo(ECRecord, NamingClass)) in HasAccess()
767 switch (IsDerivedFromInclusive(ECRecord, NamingClass)) { in HasAccess()
821 if (NamingClass == ECRecord) return AR_accessible; in HasAccess()
835 switch (IsDerivedFromInclusive(InstanceContext, ECRecord)) { in HasAccess()
1039 const CXXRecordDecl *ECRecord = *I; in TryDiagnoseProtectedAccess() local
1040 switch (IsDerivedFromInclusive(ECRecord, NamingClass)) { in TryDiagnoseProtectedAccess()
1060 if (NamingClass == ECRecord) continue; in TryDiagnoseProtectedAccess()
1065 << S.Context.getTypeDeclType(ECRecord); in TryDiagnoseProtectedAccess()
1072 switch (IsDerivedFromInclusive(InstanceContext, ECRecord)) { in TryDiagnoseProtectedAccess()
1093 << S.Context.getTypeDeclType(ECRecord); in TryDiagnoseProtectedAccess()