Home | History | Annotate | Download | only in Sema

Lines Matching defs:InstanceContext

213       return InstanceContext;
217 InstanceContext = (IC ? cast<CXXRecordDecl>(IC)->getCanonicalDecl()
219 return InstanceContext;
241 InstanceContext = nullptr;
252 mutable const CXXRecordDecl *InstanceContext;
613 const CXXRecordDecl *InstanceContext,
616 CheckDependent(InstanceContext->isDependentContext() ||
690 /// InstanceContext <= P
691 /// if InstanceContext exists, or else
716 const CXXRecordDecl *InstanceContext,
718 assert(InstanceContext == nullptr ||
719 InstanceContext->getCanonicalDecl() == InstanceContext);
725 if (!InstanceContext) return GetFriendKind(S, EC, NamingClass);
727 ProtectedFriendContext PRC(S, EC, InstanceContext, NamingClass);
728 if (PRC.findFriendship(InstanceContext)) return AR_accessible;
825 const CXXRecordDecl *InstanceContext = Target.resolveInstanceContext(S);
826 if (!InstanceContext) {
831 switch (IsDerivedFromInclusive(InstanceContext, ECRecord)) {
851 const CXXRecordDecl *InstanceContext = nullptr;
853 InstanceContext = Target.resolveInstanceContext(S);
854 if (!InstanceContext) return AR_dependent;
857 switch (GetProtectedFriendKind(S, EC, InstanceContext, NamingClass)) {
1065 const CXXRecordDecl *InstanceContext = Target.resolveInstanceContext(S);
1066 assert(InstanceContext && "diagnosing dependent access");
1068 switch (IsDerivedFromInclusive(InstanceContext, ECRecord)) {