Lines Matching defs:CurMethod
2942 if (CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext))
2943 if (CurMethod->isInstance())
2945 Qualifiers::fromCVRMask(CurMethod->getTypeQualifiers()));
4646 ObjCMethodDecl *CurMethod = S.getCurMethodDecl();
4647 if (!CurMethod)
4650 ObjCInterfaceDecl *Class = CurMethod->getClassInterface();
4658 SuperMethod = Class->getMethod(CurMethod->getSelector(),
4659 CurMethod->isInstanceMethod());
4665 if ((SuperMethod = Category->getMethod(CurMethod->getSelector(),
4666 CurMethod->isInstanceMethod())))
4675 if (CurMethod->param_size() != SuperMethod->param_size() ||
4676 CurMethod->isVariadic() != SuperMethod->isVariadic())
4679 for (ObjCMethodDecl::param_iterator CurP = CurMethod->param_begin(),
4680 CurPEnd = CurMethod->param_end(),
4705 Selector Sel = CurMethod->getSelector();
4714 ObjCMethodDecl::param_iterator CurP = CurMethod->param_begin();
4781 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) {
4783 CDecl = CurMethod->getClassInterface();
4792 if (CurMethod->isInstanceMethod()) {
4907 if (ObjCMethodDecl *CurMethod = SemaRef.getCurMethodDecl())
4908 Results.setPreferredSelector(CurMethod->getSelector());
5036 if (ObjCMethodDecl *CurMethod = getCurMethodDecl())
5037 Results.setPreferredSelector(CurMethod->getSelector());
5047 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) {
5048 if (ObjCInterfaceDecl *ClassDecl = CurMethod->getClassInterface())