Lines Matching refs:ToFunction
2765 FunctionDecl *ToFunction = nullptr; in VisitFunctionDecl() local
2767 ToFunction = CXXConstructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2776 ToFunction = CXXDestructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2784 ToFunction = CXXConversionDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2793 ToFunction = CXXMethodDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2802 ToFunction = FunctionDecl::Create(Importer.getToContext(), DC, in VisitFunctionDecl()
2811 ToFunction->setQualifierInfo(Importer.Import(D->getQualifierLoc())); in VisitFunctionDecl()
2812 ToFunction->setAccess(D->getAccess()); in VisitFunctionDecl()
2813 ToFunction->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
2814 ToFunction->setVirtualAsWritten(D->isVirtualAsWritten()); in VisitFunctionDecl()
2815 ToFunction->setTrivial(D->isTrivial()); in VisitFunctionDecl()
2816 ToFunction->setPure(D->isPure()); in VisitFunctionDecl()
2817 Importer.Imported(D, ToFunction); in VisitFunctionDecl()
2821 Parameters[I]->setOwningFunction(ToFunction); in VisitFunctionDecl()
2822 ToFunction->addDeclInternal(Parameters[I]); in VisitFunctionDecl()
2824 ToFunction->setParams(Parameters); in VisitFunctionDecl()
2831 ToFunction->setType(T); in VisitFunctionDecl()
2837 LexicalDC->addDeclInternal(ToFunction); in VisitFunctionDecl()
2839 return ToFunction; in VisitFunctionDecl()