Lines Matching refs:ToFunction
2835 FunctionDecl *ToFunction = nullptr; in VisitFunctionDecl() local
2838 ToFunction = CXXConstructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2847 ToFunction = CXXDestructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2855 ToFunction = CXXConversionDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2864 ToFunction = CXXMethodDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
2873 ToFunction = FunctionDecl::Create(Importer.getToContext(), DC, in VisitFunctionDecl()
2882 ToFunction->setQualifierInfo(Importer.Import(D->getQualifierLoc())); in VisitFunctionDecl()
2883 ToFunction->setAccess(D->getAccess()); in VisitFunctionDecl()
2884 ToFunction->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
2885 ToFunction->setVirtualAsWritten(D->isVirtualAsWritten()); in VisitFunctionDecl()
2886 ToFunction->setTrivial(D->isTrivial()); in VisitFunctionDecl()
2887 ToFunction->setPure(D->isPure()); in VisitFunctionDecl()
2888 Importer.Imported(D, ToFunction); in VisitFunctionDecl()
2892 Parameters[I]->setOwningFunction(ToFunction); in VisitFunctionDecl()
2893 ToFunction->addDeclInternal(Parameters[I]); in VisitFunctionDecl()
2895 ToFunction->setParams(Parameters); in VisitFunctionDecl()
2902 ToFunction->setType(T); in VisitFunctionDecl()
2908 ToFunction->setBody(ToBody); in VisitFunctionDecl()
2915 LexicalDC->addDeclInternal(ToFunction); in VisitFunctionDecl()
2917 return ToFunction; in VisitFunctionDecl()