Searched defs:ToFunction (Results 1 - 2 of 2) sorted by relevance

/external/clang/lib/AST/
H A DASTImporter.cpp2835 FunctionDecl *ToFunction = nullptr; local
2838 ToFunction = CXXConstructorDecl::Create(Importer.getToContext(),
2847 ToFunction = CXXDestructorDecl::Create(Importer.getToContext(),
2855 ToFunction = CXXConversionDecl::Create(Importer.getToContext(),
2864 ToFunction = CXXMethodDecl::Create(Importer.getToContext(),
2873 ToFunction = FunctionDecl::Create(Importer.getToContext(), DC,
2882 ToFunction->setQualifierInfo(Importer.Import(D->getQualifierLoc()));
2883 ToFunction->setAccess(D->getAccess());
2884 ToFunction->setLexicalDeclContext(LexicalDC);
2885 ToFunction
[all...]
/external/clang/lib/Sema/
H A DSemaOverload.cpp2587 *ToFunction = tryGetFunctionProtoType(ToType); local
2590 if (!FromFunction || !ToFunction) {
2595 if (FromFunction->getNumParams() != ToFunction->getNumParams()) {
2596 PDiag << ft_parameter_arity << ToFunction->getNumParams()
2603 if (!FunctionParamTypesAreEqual(FromFunction, ToFunction, &ArgPos)) {
2605 << ToFunction->getParamType(ArgPos)
2612 ToFunction->getReturnType())) {
2613 PDiag << ft_return_type << ToFunction->getReturnType()
2619 ToQuals = ToFunction->getTypeQuals();

Completed in 62 milliseconds