Lines Matching refs:ToFunction

3344   FunctionDecl *ToFunction = nullptr;  in VisitFunctionDecl()  local
3351 ToFunction, D, Importer.getToContext(), cast<CXXRecordDecl>(DC), in VisitFunctionDecl()
3357 return ToFunction; in VisitFunctionDecl()
3368 ToFunction, D, Importer.getToContext(), cast<CXXRecordDecl>(DC), in VisitFunctionDecl()
3371 return ToFunction; in VisitFunctionDecl()
3373 CXXDestructorDecl *ToDtor = cast<CXXDestructorDecl>(ToFunction); in VisitFunctionDecl()
3383 ToFunction, D, Importer.getToContext(), cast<CXXRecordDecl>(DC), in VisitFunctionDecl()
3386 return ToFunction; in VisitFunctionDecl()
3389 ToFunction, D, Importer.getToContext(), cast<CXXRecordDecl>(DC), in VisitFunctionDecl()
3393 return ToFunction; in VisitFunctionDecl()
3400 ToFunction, D, Importer.getToContext(), DC, ToInnerLocStart, ESpec, in VisitFunctionDecl()
3402 return ToFunction; in VisitFunctionDecl()
3403 cast<CXXDeductionGuideDecl>(ToFunction) in VisitFunctionDecl()
3407 ToFunction, D, Importer.getToContext(), DC, ToInnerLocStart, in VisitFunctionDecl()
3411 return ToFunction; in VisitFunctionDecl()
3418 ToFunction->setPreviousDecl(Recent); in VisitFunctionDecl()
3426 ToFunction->setQualifierInfo(ToQualifierLoc); in VisitFunctionDecl()
3427 ToFunction->setAccess(D->getAccess()); in VisitFunctionDecl()
3428 ToFunction->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
3429 ToFunction->setVirtualAsWritten(D->isVirtualAsWritten()); in VisitFunctionDecl()
3430 ToFunction->setTrivial(D->isTrivial()); in VisitFunctionDecl()
3431 ToFunction->setPure(D->isPure()); in VisitFunctionDecl()
3432 ToFunction->setDefaulted(D->isDefaulted()); in VisitFunctionDecl()
3433 ToFunction->setExplicitlyDefaulted(D->isExplicitlyDefaulted()); in VisitFunctionDecl()
3434 ToFunction->setDeletedAsWritten(D->isDeletedAsWritten()); in VisitFunctionDecl()
3435 ToFunction->setRangeEnd(ToEndLoc); in VisitFunctionDecl()
3439 Param->setOwningFunction(ToFunction); in VisitFunctionDecl()
3440 ToFunction->addDeclInternal(Param); in VisitFunctionDecl()
3442 ToFunction->setParams(Parameters); in VisitFunctionDecl()
3472 auto *ToCtor = cast<CXXConstructorDecl>(ToFunction); in VisitFunctionDecl()
3479 Error Err = ImportFunctionDeclBody(D, ToFunction); in VisitFunctionDecl()
3488 ToFunction->setType(*TyOrErr); in VisitFunctionDecl()
3496 if (Error Err = ImportTemplateInformation(D, ToFunction)) in VisitFunctionDecl()
3499 addDeclToContexts(D, ToFunction); in VisitFunctionDecl()
3502 if (Error Err = ImportOverriddenMethods(cast<CXXMethodDecl>(ToFunction), in VisitFunctionDecl()
3513 return ToFunction; in VisitFunctionDecl()