Home
last modified time | relevance | path

Searched refs:CurMethod (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCodeComplete.cpp6114 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local
6115 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() local
6254 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() local
6515 Results.setPreferredSelector(CurMethod->getSelector()); in CodeCompleteObjCInstanceMessage()
[all …]
H A DSemaExprMember.cpp1786 auto *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in BuildFieldReferenceExpr() local
1787 if (!(CurMethod && CurMethod->isDefaulted())) in BuildFieldReferenceExpr()
H A DSemaExprObjC.cpp1325 if (ObjCMethodDecl *CurMethod = S.getCurMethodDecl()) in getBaseMessageSendResultType() local
1326 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType()
1995 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr() local
1996 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()
H A DSemaDeclObjC.cpp5040 for (const auto *CurMethod : ImplD->instance_methods()) { in DiagnoseUnusedBackingIvarInAccessor() local
5042 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()
H A DSemaExpr.cpp1854 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup() local
1855 bool isInstance = CurMethod && in DiagnoseEmptyLookup()
1856 CurMethod->isInstance() && in DiagnoseEmptyLookup()
2403 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupInObjCMethod() local
2406 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 …]
H A DSemaDecl.cpp850 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local
865 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()
879 if (!SS.isSet() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjCMac.cpp2117 } else if (auto CurMethod = in EmitMessageSend() local
2119 auto Self = CurMethod->getSelfDecl(); in EmitMessageSend()