Searched refs:CurMethod (Results 1 – 5 of 5) sorted by relevance
3255 if (CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext)) in CodeCompleteOrdinaryName() local3256 if (CurMethod->isInstance()) in CodeCompleteOrdinaryName()3258 Qualifiers::fromCVRMask(CurMethod->getTypeQualifiers())); in CodeCompleteOrdinaryName()5109 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local5110 if (!CurMethod) in AddSuperSendCompletion()5113 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()5121 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()5122 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()5127 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()5128 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()[all …]
1156 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) in getMessageSendResultType() local1157 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) in getMessageSendResultType()1723 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr() local1724 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()1726 CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()1730 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()1746 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
3523 for (const auto *CurMethod : ImplD->instance_methods()) { in DiagnoseUnusedBackingIvarInAccessor() local3525 SourceLocation Loc = CurMethod->getLocation(); in DiagnoseUnusedBackingIvarInAccessor()3530 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); in DiagnoseUnusedBackingIvarInAccessor()3534 UnusedBackingIvarChecker Checker(*this, CurMethod, IV); in DiagnoseUnusedBackingIvarInAccessor()3535 Checker.TraverseStmt(CurMethod->getBody()); in DiagnoseUnusedBackingIvarInAccessor()
1760 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup() local1761 bool isInstance = CurMethod && in DiagnoseEmptyLookup()1762 CurMethod->isInstance() && in DiagnoseEmptyLookup()1763 DC == CurMethod->getParent() && !isDefaultArgument; in DiagnoseEmptyLookup()1778 if (CurMethod->isDependentContext()) in DiagnoseEmptyLookup()1779 DepMethod = CurMethod; in DiagnoseEmptyLookup()1780 else if (CurMethod->getTemplatedKind() == in DiagnoseEmptyLookup()1782 DepMethod = cast<CXXMethodDecl>(CurMethod->getPrimaryTemplate()-> in DiagnoseEmptyLookup()1786 CurMethod->getInstantiatedFromMemberFunction()); in DiagnoseEmptyLookup()2292 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupInObjCMethod() local[all …]
690 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local698 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()712 if (!SS.isSet() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()