Searched refs:CurMethod (Results 1 – 7 of 7) sorted by relevance
6114 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local6115 if (!CurMethod) in AddSuperSendCompletion()6144 CurMethod->isVariadic() != SuperMethod->isVariadic()) in AddSuperSendCompletion()6175 Selector Sel = CurMethod->getSelector(); in AddSuperSendCompletion()6252 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) { in CodeCompleteObjCSuperMessage() local6254 CDecl = CurMethod->getClassInterface(); in CodeCompleteObjCSuperMessage()6263 if (CurMethod->isInstanceMethod()) { in CodeCompleteObjCSuperMessage()6374 Results.setPreferredSelector(CurMethod->getSelector()); in AddClassMessageCompletions()6514 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) in CodeCompleteObjCInstanceMessage() local6515 Results.setPreferredSelector(CurMethod->getSelector()); in CodeCompleteObjCInstanceMessage()[all …]
1786 auto *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in BuildFieldReferenceExpr() local1787 if (!(CurMethod && CurMethod->isDefaulted())) in BuildFieldReferenceExpr()
1325 if (ObjCMethodDecl *CurMethod = S.getCurMethodDecl()) in getBaseMessageSendResultType() local1326 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType()1995 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr() local1996 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr()1998 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()2002 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()2017 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
5040 for (const auto *CurMethod : ImplD->instance_methods()) { in DiagnoseUnusedBackingIvarInAccessor() local5042 SourceLocation Loc = CurMethod->getLocation(); in DiagnoseUnusedBackingIvarInAccessor()5047 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); in DiagnoseUnusedBackingIvarInAccessor()5051 UnusedBackingIvarChecker Checker(*this, CurMethod, IV); in DiagnoseUnusedBackingIvarInAccessor()5052 Checker.TraverseStmt(CurMethod->getBody()); in DiagnoseUnusedBackingIvarInAccessor()
1854 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup() local1855 bool isInstance = CurMethod && in DiagnoseEmptyLookup()1856 CurMethod->isInstance() && in DiagnoseEmptyLookup()2403 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupInObjCMethod() local2406 if (!CurMethod) in LookupInObjCMethod()2418 bool IsClassMethod = CurMethod->isClassMethod(); in LookupInObjCMethod()2430 IFace = CurMethod->getClassInterface(); in LookupInObjCMethod()2473 ObjCMethodFamily MF = CurMethod->getMethodFamily(); in LookupInObjCMethod()2475 !IvarBacksCurrentMethodAccessor(IFace, CurMethod, IV)) in LookupInObjCMethod()2495 } else if (CurMethod->isInstanceMethod()) { in LookupInObjCMethod()[all …]
850 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local865 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()879 if (!SS.isSet() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()
2117 } else if (auto CurMethod = in EmitMessageSend() local2119 auto Self = CurMethod->getSelfDecl(); in EmitMessageSend()