Lines Matching refs:Method
628 const ObjCMethodDecl *Method = nullptr;
646 Method = InterfaceDecl->lookupInstanceMethod(Sel);
647 if (!Method)
648 Method = InterfaceDecl->lookupClassMethod(Sel);
654 return Method ? Method : MessageExpr->getMethodDecl();
661 const ObjCMethodDecl *Method, ArrayRef<QualType> TypeArgs,
663 QualType StaticResultType = Method->getReturnType();
698 const ObjCMethodDecl *Method =
702 if (!Method)
706 (*TrackedType)->getObjCSubstitutions(Method->getDeclContext());
712 for (unsigned i = 0; i < Method->param_size(); i++) {
714 const ParmVarDecl *Param = Method->parameters()[i];
804 const ObjCMethodDecl *Method =
806 if (!Method)
810 (*TrackedType)->getObjCSubstitutions(Method->getDeclContext());
815 getReturnTypeForMethod(Method, *TypeArgs, *TrackedType, ASTCtxt);