Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaCodeComplete.cpp6526 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local
6527 if (!CurMethod) in AddSuperSendCompletion()
6530 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()
6538 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
6539 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()
6544 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
6545 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()
6555 if (CurMethod->param_size() != SuperMethod->param_size() || in AddSuperSendCompletion()
6556 CurMethod->isVariadic() != SuperMethod->isVariadic()) in AddSuperSendCompletion()
6559 for (ObjCMethodDecl::param_iterator CurP = CurMethod->param_begin(), in AddSuperSendCompletion()
[all …]
HDSemaExprMember.cpp1815 auto *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in BuildFieldReferenceExpr() local
1816 if (!(CurMethod && CurMethod->isDefaulted())) in BuildFieldReferenceExpr()
HDSemaExprObjC.cpp1378 if (ObjCMethodDecl *CurMethod = S.getCurMethodDecl()) in getBaseMessageSendResultType() local
1379 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType()
2046 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr() local
2047 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr()
2049 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()
2053 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
2068 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
HDSemaDeclObjC.cpp5226 for (const auto *CurMethod : ImplD->instance_methods()) { in DiagnoseUnusedBackingIvarInAccessor() local
5228 SourceLocation Loc = CurMethod->getLocation(); in DiagnoseUnusedBackingIvarInAccessor()
5233 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); in DiagnoseUnusedBackingIvarInAccessor()
5237 if (CurMethod->isSynthesizedAccessorStub()) in DiagnoseUnusedBackingIvarInAccessor()
5240 UnusedBackingIvarChecker Checker(*this, CurMethod, IV); in DiagnoseUnusedBackingIvarInAccessor()
5241 Checker.TraverseStmt(CurMethod->getBody()); in DiagnoseUnusedBackingIvarInAccessor()
HDSemaExpr.cpp2069 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup() local
2070 bool isInstance = CurMethod && in DiagnoseEmptyLookup()
2071 CurMethod->isInstance() && in DiagnoseEmptyLookup()
2072 DC == CurMethod->getParent() && !isDefaultArgument; in DiagnoseEmptyLookup()
2608 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupIvarInObjCMethod() local
2611 if (!CurMethod) in LookupIvarInObjCMethod()
2623 bool IsClassMethod = CurMethod->isClassMethod(); in LookupIvarInObjCMethod()
2635 IFace = CurMethod->getClassInterface(); in LookupIvarInObjCMethod()
2654 } else if (CurMethod->isInstanceMethod()) { in LookupIvarInObjCMethod()
2656 if (ObjCInterfaceDecl *IFace = CurMethod->getClassInterface()) { in LookupIvarInObjCMethod()
[all …]
HDSemaDecl.cpp855 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local
869 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()
886 if (SS.isEmpty() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGObjCMac.cpp2205 } else if (auto CurMethod = in EmitMessageSend() local
2207 auto Self = CurMethod->getSelfDecl(); in EmitMessageSend()