Lines Matching refs:MightInstantiateTo
259 static bool MightInstantiateTo(const CXXRecordDecl *From, in MightInstantiateTo() function
287 if (CheckDependent && MightInstantiateTo(Derived, Target)) in IsDerivedFromInclusive()
315 if (CheckDependent && MightInstantiateTo(RD, Target)) in IsDerivedFromInclusive()
330 static bool MightInstantiateTo(Sema &S, DeclContext *Context, in MightInstantiateTo() function
350 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) { in MightInstantiateTo() function
361 static bool MightInstantiateTo(Sema &S, in MightInstantiateTo() function
367 if (!MightInstantiateTo(S, in MightInstantiateTo()
387 if (!MightInstantiateTo(S, ContextTy->getReturnType(), in MightInstantiateTo()
392 if (!MightInstantiateTo(S, ContextTy->getParamType(I), in MightInstantiateTo()
399 static bool MightInstantiateTo(Sema &S, in MightInstantiateTo() function
402 return MightInstantiateTo(S, in MightInstantiateTo()
415 if (MightInstantiateTo(Context, Friend)) in MatchesFriend()
478 if (!MightInstantiateTo(S, CTD->getDeclContext(), in MatchesFriend()
501 if (EC.isDependent() && MightInstantiateTo(S, *I, Friend)) in MatchesFriend()
531 if (EC.isDependent() && MightInstantiateTo(S, FTD, Friend)) in MatchesFriend()
641 if (CheckDependent && MightInstantiateTo(Cur, NamingClass)) in findFriendship()
752 if (EC.isDependent() && MightInstantiateTo(ECRecord, NamingClass)) in HasAccess()