Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/AST/
DASTImporter.cpp3344 FunctionDecl *ToFunction = nullptr; in VisitFunctionDecl() local
3351 ToFunction, D, Importer.getToContext(), cast<CXXRecordDecl>(DC), in VisitFunctionDecl()
3357 return ToFunction; in VisitFunctionDecl()
3368 ToFunction, D, Importer.getToContext(), cast<CXXRecordDecl>(DC), in VisitFunctionDecl()
3371 return ToFunction; in VisitFunctionDecl()
3373 CXXDestructorDecl *ToDtor = cast<CXXDestructorDecl>(ToFunction); in VisitFunctionDecl()
3383 ToFunction, D, Importer.getToContext(), cast<CXXRecordDecl>(DC), in VisitFunctionDecl()
3386 return ToFunction; in VisitFunctionDecl()
3389 ToFunction, D, Importer.getToContext(), cast<CXXRecordDecl>(DC), in VisitFunctionDecl()
3393 return ToFunction; in VisitFunctionDecl()
[all …]
/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/llvm-project/clang/lib/Sema/
DSemaOverload.cpp2904 *ToFunction = tryGetFunctionProtoType(ToType); in HandleFunctionTypeMismatch() local
2907 if (!FromFunction || !ToFunction) { in HandleFunctionTypeMismatch()
2912 if (FromFunction->getNumParams() != ToFunction->getNumParams()) { in HandleFunctionTypeMismatch()
2913 PDiag << ft_parameter_arity << ToFunction->getNumParams() in HandleFunctionTypeMismatch()
2920 if (!FunctionParamTypesAreEqual(FromFunction, ToFunction, &ArgPos)) { in HandleFunctionTypeMismatch()
2922 << ToFunction->getParamType(ArgPos) in HandleFunctionTypeMismatch()
2929 ToFunction->getReturnType())) { in HandleFunctionTypeMismatch()
2930 PDiag << ft_return_type << ToFunction->getReturnType() in HandleFunctionTypeMismatch()
2935 if (FromFunction->getMethodQuals() != ToFunction->getMethodQuals()) { in HandleFunctionTypeMismatch()
2936 PDiag << ft_qualifer_mismatch << ToFunction->getMethodQuals() in HandleFunctionTypeMismatch()
[all …]