Lines Matching defs:MightInstantiateTo
279 static bool MightInstantiateTo(const CXXRecordDecl *From,
307 if (CheckDependent && MightInstantiateTo(Derived, Target))
335 if (CheckDependent && MightInstantiateTo(RD, Target))
350 static bool MightInstantiateTo(Sema &S, DeclContext *Context,
370 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) {
381 static bool MightInstantiateTo(Sema &S,
387 if (!MightInstantiateTo(S,
407 if (!MightInstantiateTo(S, ContextTy->getReturnType(),
412 if (!MightInstantiateTo(S, ContextTy->getParamType(I),
419 static bool MightInstantiateTo(Sema &S,
422 return MightInstantiateTo(S,
435 if (MightInstantiateTo(Context, Friend))
498 if (!MightInstantiateTo(S, CTD->getDeclContext(),
521 if (EC.isDependent() && MightInstantiateTo(S, *I, Friend))
551 if (EC.isDependent() && MightInstantiateTo(S, FTD, Friend))
661 if (CheckDependent && MightInstantiateTo(Cur, NamingClass))
772 if (EC.isDependent() && MightInstantiateTo(ECRecord, NamingClass))