Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DASTImporter.cpp3038 FunctionDecl *ToFunction = nullptr; in VisitFunctionDecl() local
3041 ToFunction = CXXConstructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
3061 CXXConstructorDecl *ToCtor = llvm::cast<CXXConstructorDecl>(ToFunction); in VisitFunctionDecl()
3066 ToFunction = CXXDestructorDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
3074 ToFunction = CXXConversionDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
3083 ToFunction = CXXMethodDecl::Create(Importer.getToContext(), in VisitFunctionDecl()
3092 ToFunction = FunctionDecl::Create(Importer.getToContext(), DC, in VisitFunctionDecl()
3101 ToFunction->setQualifierInfo(Importer.Import(D->getQualifierLoc())); in VisitFunctionDecl()
3102 ToFunction->setAccess(D->getAccess()); in VisitFunctionDecl()
3103 ToFunction->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
[all …]
/external/clang/lib/Sema/
DSemaOverload.cpp2652 *ToFunction = tryGetFunctionProtoType(ToType); in HandleFunctionTypeMismatch() local
2655 if (!FromFunction || !ToFunction) { in HandleFunctionTypeMismatch()
2660 if (FromFunction->getNumParams() != ToFunction->getNumParams()) { in HandleFunctionTypeMismatch()
2661 PDiag << ft_parameter_arity << ToFunction->getNumParams() in HandleFunctionTypeMismatch()
2668 if (!FunctionParamTypesAreEqual(FromFunction, ToFunction, &ArgPos)) { in HandleFunctionTypeMismatch()
2670 << ToFunction->getParamType(ArgPos) in HandleFunctionTypeMismatch()
2677 ToFunction->getReturnType())) { in HandleFunctionTypeMismatch()
2678 PDiag << ft_return_type << ToFunction->getReturnType() in HandleFunctionTypeMismatch()
2684 ToQuals = ToFunction->getTypeQuals(); in HandleFunctionTypeMismatch()