Searched refs:CurMethod (Results 1 – 5 of 5) sorted by relevance
3256 if (CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext)) in CodeCompleteOrdinaryName() local3257 if (CurMethod->isInstance()) in CodeCompleteOrdinaryName()3259 Qualifiers::fromCVRMask(CurMethod->getTypeQualifiers())); in CodeCompleteOrdinaryName()5113 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local5114 if (!CurMethod) in AddSuperSendCompletion()5117 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()5125 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()5126 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()5131 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()5132 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()[all …]
1163 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) in getMessageSendResultType() local1164 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) in getMessageSendResultType()1753 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr() local1754 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()1756 CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()1760 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()1776 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
3567 for (const auto *CurMethod : ImplD->instance_methods()) { in DiagnoseUnusedBackingIvarInAccessor() local3569 SourceLocation Loc = CurMethod->getLocation(); in DiagnoseUnusedBackingIvarInAccessor()3574 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); in DiagnoseUnusedBackingIvarInAccessor()3578 UnusedBackingIvarChecker Checker(*this, CurMethod, IV); in DiagnoseUnusedBackingIvarInAccessor()3579 Checker.TraverseStmt(CurMethod->getBody()); in DiagnoseUnusedBackingIvarInAccessor()
1753 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup() local1754 bool isInstance = CurMethod && in DiagnoseEmptyLookup()1755 CurMethod->isInstance() && in DiagnoseEmptyLookup()1756 DC == CurMethod->getParent() && !isDefaultArgument; in DiagnoseEmptyLookup()1771 if (CurMethod->isDependentContext()) in DiagnoseEmptyLookup()1772 DepMethod = CurMethod; in DiagnoseEmptyLookup()1773 else if (CurMethod->getTemplatedKind() == in DiagnoseEmptyLookup()1775 DepMethod = cast<CXXMethodDecl>(CurMethod->getPrimaryTemplate()-> in DiagnoseEmptyLookup()1779 CurMethod->getInstantiatedFromMemberFunction()); in DiagnoseEmptyLookup()2328 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupInObjCMethod() local[all …]
696 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local704 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()718 if (!SS.isSet() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()