Lines Matching defs:MightInstantiateTo
280 static bool MightInstantiateTo(const CXXRecordDecl *From,
308 if (CheckDependent && MightInstantiateTo(Derived, Target))
336 if (CheckDependent && MightInstantiateTo(RD, Target))
351 static bool MightInstantiateTo(Sema &S, DeclContext *Context,
371 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) {
382 static bool MightInstantiateTo(Sema &S,
388 if (!MightInstantiateTo(S,
408 if (!MightInstantiateTo(S, ContextTy->getReturnType(),
413 if (!MightInstantiateTo(S, ContextTy->getParamType(I),
420 static bool MightInstantiateTo(Sema &S,
423 return MightInstantiateTo(S,
436 if (MightInstantiateTo(Context, Friend))
499 if (!MightInstantiateTo(S, CTD->getDeclContext(),
522 if (EC.isDependent() && MightInstantiateTo(S, *I, Friend))
552 if (EC.isDependent() && MightInstantiateTo(S, FTD, Friend))
662 if (CheckDependent && MightInstantiateTo(Cur, NamingClass))
773 if (EC.isDependent() && MightInstantiateTo(ECRecord, NamingClass))