Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCodeComplete.cpp7742 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local
7743 if (!CurMethod) in AddSuperSendCompletion()
7772 CurMethod->isVariadic() != SuperMethod->isVariadic()) in AddSuperSendCompletion()
7803 Selector Sel = CurMethod->getSelector(); in AddSuperSendCompletion()
7880 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) { in CodeCompleteObjCSuperMessage() local
7882 CDecl = CurMethod->getClassInterface(); in CodeCompleteObjCSuperMessage()
7891 if (CurMethod->isInstanceMethod()) { in CodeCompleteObjCSuperMessage()
8003 Results.setPreferredSelector(CurMethod->getSelector()); in AddClassMessageCompletions()
8143 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) in CodeCompleteObjCInstanceMessage() local
8144 Results.setPreferredSelector(CurMethod->getSelector()); in CodeCompleteObjCInstanceMessage()
[all …]
H A DSemaExprMember.cpp1855 auto *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in BuildFieldReferenceExpr() local
1856 if (!(CurMethod && CurMethod->isDefaulted())) in BuildFieldReferenceExpr()
H A DSemaExprObjC.cpp1495 if (ObjCMethodDecl *CurMethod = S.getCurMethodDecl()) in getBaseMessageSendResultType() local
1496 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType()
2173 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr() local
2174 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr()
2176 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()
2180 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
2195 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
H A DSemaDeclObjC.cpp5332 for (const auto *CurMethod : ImplD->instance_methods()) { in DiagnoseUnusedBackingIvarInAccessor() local
5334 SourceLocation Loc = CurMethod->getLocation(); in DiagnoseUnusedBackingIvarInAccessor()
5339 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); in DiagnoseUnusedBackingIvarInAccessor()
5343 if (CurMethod->isSynthesizedAccessorStub()) in DiagnoseUnusedBackingIvarInAccessor()
5346 UnusedBackingIvarChecker Checker(*this, CurMethod, IV); in DiagnoseUnusedBackingIvarInAccessor()
5347 Checker.TraverseStmt(CurMethod->getBody()); in DiagnoseUnusedBackingIvarInAccessor()
H A DSemaExpr.cpp2219 bool isInstance = CurMethod && CurMethod->isInstance() && in DiagnoseDependentMemberLookup()
2828 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupIvarInObjCMethod() local
2831 if (!CurMethod) in LookupIvarInObjCMethod()
2843 bool IsClassMethod = CurMethod->isClassMethod(); in LookupIvarInObjCMethod()
2855 IFace = CurMethod->getClassInterface(); in LookupIvarInObjCMethod()
2874 } else if (CurMethod->isInstanceMethod()) { in LookupIvarInObjCMethod()
2900 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in BuildIvarRefExpr() local
2901 assert(CurMethod && CurMethod->isInstanceMethod() && in BuildIvarRefExpr()
2904 ObjCInterfaceDecl *IFace = CurMethod->getClassInterface(); in BuildIvarRefExpr()
2936 ObjCMethodFamily MF = CurMethod->getMethodFamily(); in BuildIvarRefExpr()
[all …]
H A DSemaDecl.cpp868 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local
882 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()
899 if (SS.isEmpty() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()