Lines Matching refs:ToFunction
3038 FunctionDecl *ToFunction = nullptr; in VisitFunctionDecl() local
3041 ToFunction = CXXConstructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
3061 CXXConstructorDecl *ToCtor = llvm::cast<CXXConstructorDecl>(ToFunction); in VisitFunctionDecl()
3066 ToFunction = CXXDestructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
3074 ToFunction = CXXConversionDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
3083 ToFunction = CXXMethodDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
3092 ToFunction = FunctionDecl::Create(Importer.getToContext(), DC, in VisitFunctionDecl()
3101 ToFunction->setQualifierInfo(Importer.Import(D->getQualifierLoc())); in VisitFunctionDecl()
3102 ToFunction->setAccess(D->getAccess()); in VisitFunctionDecl()
3103 ToFunction->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
3104 ToFunction->setVirtualAsWritten(D->isVirtualAsWritten()); in VisitFunctionDecl()
3105 ToFunction->setTrivial(D->isTrivial()); in VisitFunctionDecl()
3106 ToFunction->setPure(D->isPure()); in VisitFunctionDecl()
3107 Importer.Imported(D, ToFunction); in VisitFunctionDecl()
3111 Parameters[I]->setOwningFunction(ToFunction); in VisitFunctionDecl()
3112 ToFunction->addDeclInternal(Parameters[I]); in VisitFunctionDecl()
3114 ToFunction->setParams(Parameters); in VisitFunctionDecl()
3121 ToFunction->setType(T); in VisitFunctionDecl()
3127 ToFunction->setBody(ToBody); in VisitFunctionDecl()
3134 LexicalDC->addDeclInternal(ToFunction); in VisitFunctionDecl()
3136 return ToFunction; in VisitFunctionDecl()