Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DASTImporter.cpp2835 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()
[all …]
/external/clang/lib/Sema/
DSemaOverload.cpp2587 *ToFunction = tryGetFunctionProtoType(ToType); in HandleFunctionTypeMismatch() local
2590 if (!FromFunction || !ToFunction) { in HandleFunctionTypeMismatch()
2595 if (FromFunction->getNumParams() != ToFunction->getNumParams()) { in HandleFunctionTypeMismatch()
2596 PDiag << ft_parameter_arity << ToFunction->getNumParams() in HandleFunctionTypeMismatch()
2603 if (!FunctionParamTypesAreEqual(FromFunction, ToFunction, &ArgPos)) { in HandleFunctionTypeMismatch()
2605 << ToFunction->getParamType(ArgPos) in HandleFunctionTypeMismatch()
2612 ToFunction->getReturnType())) { in HandleFunctionTypeMismatch()
2613 PDiag << ft_return_type << ToFunction->getReturnType() in HandleFunctionTypeMismatch()
2619 ToQuals = ToFunction->getTypeQuals(); in HandleFunctionTypeMismatch()