Searched refs:CurMethod (Results 1 – 5 of 5) sorted by relevance
3265 if (CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext)) in CodeCompleteOrdinaryName() local3266 if (CurMethod->isInstance()) in CodeCompleteOrdinaryName()3268 Qualifiers::fromCVRMask(CurMethod->getTypeQualifiers())); in CodeCompleteOrdinaryName()5167 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local5168 if (!CurMethod) in AddSuperSendCompletion()5171 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()5179 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()5180 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()5188 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()5189 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()[all …]
1097 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) in getMessageSendResultType() local1098 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) in getMessageSendResultType()1674 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr() local1675 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()1677 CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()1681 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()1697 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
1742 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup() local1743 bool isInstance = CurMethod && in DiagnoseEmptyLookup()1744 CurMethod->isInstance() && in DiagnoseEmptyLookup()1745 DC == CurMethod->getParent() && !isDefaultArgument; in DiagnoseEmptyLookup()1760 if (CurMethod->isDependentContext()) in DiagnoseEmptyLookup()1761 DepMethod = CurMethod; in DiagnoseEmptyLookup()1762 else if (CurMethod->getTemplatedKind() == in DiagnoseEmptyLookup()1764 DepMethod = cast<CXXMethodDecl>(CurMethod->getPrimaryTemplate()-> in DiagnoseEmptyLookup()1768 CurMethod->getInstantiatedFromMemberFunction()); in DiagnoseEmptyLookup()2197 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupInObjCMethod() local[all …]
3531 const ObjCMethodDecl *CurMethod = getCurMethodDecl(); in DiagnoseUnusedBackingIvarInAccessor() local3532 if (!CurMethod) in DiagnoseUnusedBackingIvarInAccessor()3535 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); in DiagnoseUnusedBackingIvarInAccessor()
581 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local590 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()596 if (!SS.isSet() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()