Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp7885 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local
7886 if (!CurMethod) in AddSuperSendCompletion()
7915 CurMethod->isVariadic() != SuperMethod->isVariadic()) in AddSuperSendCompletion()
7946 Selector Sel = CurMethod->getSelector(); in AddSuperSendCompletion()
8024 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) { in CodeCompleteObjCSuperMessage() local
8026 CDecl = CurMethod->getClassInterface(); in CodeCompleteObjCSuperMessage()
8035 if (CurMethod->isInstanceMethod()) { in CodeCompleteObjCSuperMessage()
8147 Results.setPreferredSelector(CurMethod->getSelector()); in AddClassMessageCompletions()
8287 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) in CodeCompleteObjCInstanceMessage() local
8288 Results.setPreferredSelector(CurMethod->getSelector()); in CodeCompleteObjCInstanceMessage()
[all …]
H A DSemaExprMember.cpp1889 auto *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in BuildFieldReferenceExpr() local
1890 if (!(CurMethod && CurMethod->isDefaulted())) in BuildFieldReferenceExpr()
H A DSemaExprObjC.cpp1494 if (ObjCMethodDecl *CurMethod = S.getCurMethodDecl()) in getBaseMessageSendResultType() local
1495 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.cpp5344 for (const auto *CurMethod : ImplD->instance_methods()) { in DiagnoseUnusedBackingIvarInAccessor() local
5346 SourceLocation Loc = CurMethod->getLocation(); in DiagnoseUnusedBackingIvarInAccessor()
5351 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); in DiagnoseUnusedBackingIvarInAccessor()
5355 if (CurMethod->isSynthesizedAccessorStub()) in DiagnoseUnusedBackingIvarInAccessor()
5358 UnusedBackingIvarChecker Checker(*this, CurMethod, IV); in DiagnoseUnusedBackingIvarInAccessor()
5359 Checker.TraverseStmt(CurMethod->getBody()); in DiagnoseUnusedBackingIvarInAccessor()
H A DSemaExpr.cpp2416 bool isInstance = CurMethod && CurMethod->isInstance() && in DiagnoseDependentMemberLookup()
3031 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupIvarInObjCMethod() local
3034 if (!CurMethod) in LookupIvarInObjCMethod()
3046 bool IsClassMethod = CurMethod->isClassMethod(); in LookupIvarInObjCMethod()
3058 IFace = CurMethod->getClassInterface(); in LookupIvarInObjCMethod()
3077 } else if (CurMethod->isInstanceMethod()) { in LookupIvarInObjCMethod()
3103 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in BuildIvarRefExpr() local
3104 assert(CurMethod && CurMethod->isInstanceMethod() && in BuildIvarRefExpr()
3107 ObjCInterfaceDecl *IFace = CurMethod->getClassInterface(); in BuildIvarRefExpr()
3139 ObjCMethodFamily MF = CurMethod->getMethodFamily(); in BuildIvarRefExpr()
[all …]
H A DSemaDecl.cpp930 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local
944 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()
961 if (SS.isEmpty() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()