Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCodeComplete.cpp3362 if (CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext)) in CodeCompleteOrdinaryName() local
3363 if (CurMethod->isInstance()) in CodeCompleteOrdinaryName()
3365 Qualifiers::fromCVRMask(CurMethod->getTypeQualifiers())); in CodeCompleteOrdinaryName()
5331 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local
5332 if (!CurMethod) in AddSuperSendCompletion()
5335 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()
5343 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
5344 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()
5349 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
5350 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()
[all …]
DSemaExprObjC.cpp1319 if (ObjCMethodDecl *CurMethod = S.getCurMethodDecl()) in getBaseMessageSendResultType() local
1320 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType()
1938 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr() local
1939 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr()
1941 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()
1945 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
1960 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
DSemaDeclObjC.cpp4609 for (const auto *CurMethod : ImplD->instance_methods()) { in DiagnoseUnusedBackingIvarInAccessor() local
4611 SourceLocation Loc = CurMethod->getLocation(); in DiagnoseUnusedBackingIvarInAccessor()
4616 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); in DiagnoseUnusedBackingIvarInAccessor()
4620 UnusedBackingIvarChecker Checker(*this, CurMethod, IV); in DiagnoseUnusedBackingIvarInAccessor()
4621 Checker.TraverseStmt(CurMethod->getBody()); in DiagnoseUnusedBackingIvarInAccessor()
DSemaExpr.cpp1831 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup() local
1832 bool isInstance = CurMethod && in DiagnoseEmptyLookup()
1833 CurMethod->isInstance() && in DiagnoseEmptyLookup()
1834 DC == CurMethod->getParent() && !isDefaultArgument; in DiagnoseEmptyLookup()
2369 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupInObjCMethod() local
2372 if (!CurMethod) in LookupInObjCMethod()
2384 bool IsClassMethod = CurMethod->isClassMethod(); in LookupInObjCMethod()
2396 IFace = CurMethod->getClassInterface(); in LookupInObjCMethod()
2439 ObjCMethodFamily MF = CurMethod->getMethodFamily(); in LookupInObjCMethod()
2441 !IvarBacksCurrentMethodAccessor(IFace, CurMethod, IV)) in LookupInObjCMethod()
[all …]
DSemaDecl.cpp736 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local
744 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()
758 if (!SS.isSet() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp1899 } else if (auto CurMethod = in EmitMessageSend() local
1901 auto Self = CurMethod->getSelfDecl(); in EmitMessageSend()