Lines Matching refs:Method
1137 // We do not look directly into function or method contexts,
1139 // function/method are present within the Scope.
1141 // If we have an Objective-C instance method, look for ivars
1143 if (ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(Ctx)) {
1144 if (Method->isInstanceMethod() && Name.getAsIdentifierInfo())
1145 if (ObjCInterfaceDecl *Class = Method->getClassInterface()) {
3540 if (ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(Ctx)) {
3541 if (Method->isInstanceMethod()) {
3542 // For instance methods, look for ivars in the method's interface.
3545 if (ObjCInterfaceDecl *IFace = Method->getClassInterface()) {
4219 if (ObjCMethodDecl *Method = SemaRef.getCurMethodDecl()) {
4220 if (Method->isInstanceMethod() && Method->getClassInterface() &&
4225 = Method->getClassInterface()->lookupInstanceVariable(Name)) {
4758 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) {
4759 if (Method->isStatic())
4814 // If the current candidate is a non-static C++ method, skip the candidate
4815 // unless the method being corrected--or the current DeclContext, if the
4816 // function being corrected is not a method--is a method in the same class