Home | History | Annotate | Download | only in AST

Lines Matching refs:ToFunction

2735   FunctionDecl *ToFunction = 0;
2737 ToFunction = CXXConstructorDecl::Create(Importer.getToContext(),
2746 ToFunction = CXXDestructorDecl::Create(Importer.getToContext(),
2754 ToFunction = CXXConversionDecl::Create(Importer.getToContext(),
2763 ToFunction = CXXMethodDecl::Create(Importer.getToContext(),
2772 ToFunction = FunctionDecl::Create(Importer.getToContext(), DC,
2781 ToFunction->setQualifierInfo(Importer.Import(D->getQualifierLoc()));
2782 ToFunction->setAccess(D->getAccess());
2783 ToFunction->setLexicalDeclContext(LexicalDC);
2784 ToFunction->setVirtualAsWritten(D->isVirtualAsWritten());
2785 ToFunction->setTrivial(D->isTrivial());
2786 ToFunction->setPure(D->isPure());
2787 Importer.Imported(D, ToFunction);
2791 Parameters[I]->setOwningFunction(ToFunction);
2792 ToFunction->addDeclInternal(Parameters[I]);
2794 ToFunction->setParams(Parameters);
2801 ToFunction->setType(T);
2807 LexicalDC->addDeclInternal(ToFunction);
2809 return ToFunction;