Home
last modified time | relevance | path

Searched refs:ToFunction (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/AST/
DASTImporter.cpp2765 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()
[all …]
/external/clang/lib/Sema/
DSemaOverload.cpp2533 *ToFunction = ToType->getAs<FunctionProtoType>(); in HandleFunctionTypeMismatch()
2536 if (!FromFunction || !ToFunction) { in HandleFunctionTypeMismatch()
2541 if (FromFunction->getNumParams() != ToFunction->getNumParams()) { in HandleFunctionTypeMismatch()
2542 PDiag << ft_parameter_arity << ToFunction->getNumParams() in HandleFunctionTypeMismatch()
2549 if (!FunctionParamTypesAreEqual(FromFunction, ToFunction, &ArgPos)) { in HandleFunctionTypeMismatch()
2551 << ToFunction->getParamType(ArgPos) in HandleFunctionTypeMismatch()
2558 ToFunction->getReturnType())) { in HandleFunctionTypeMismatch()
2559 PDiag << ft_return_type << ToFunction->getReturnType() in HandleFunctionTypeMismatch()
2565 ToQuals = ToFunction->getTypeQuals(); in HandleFunctionTypeMismatch()