Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCodeComplete.cpp3375 if (CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext)) in CodeCompleteOrdinaryName() local
3376 if (CurMethod->isInstance()) in CodeCompleteOrdinaryName()
3378 Qualifiers::fromCVRMask(CurMethod->getTypeQualifiers())); in CodeCompleteOrdinaryName()
5351 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local
5352 if (!CurMethod) in AddSuperSendCompletion()
5355 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()
5363 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
5364 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()
5369 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
5370 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()
[all …]
DSemaExprObjC.cpp1316 if (ObjCMethodDecl *CurMethod = S.getCurMethodDecl()) in getBaseMessageSendResultType() local
1317 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType()
1953 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr() local
1954 if (auto classDecl = CurMethod->getClassInterface()) { in ActOnClassPropertyRefExpr()
1956 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()
1960 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
1975 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
DSemaDeclObjC.cpp4761 for (const auto *CurMethod : ImplD->instance_methods()) { in DiagnoseUnusedBackingIvarInAccessor() local
4763 SourceLocation Loc = CurMethod->getLocation(); in DiagnoseUnusedBackingIvarInAccessor()
4768 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); in DiagnoseUnusedBackingIvarInAccessor()
4772 UnusedBackingIvarChecker Checker(*this, CurMethod, IV); in DiagnoseUnusedBackingIvarInAccessor()
4773 Checker.TraverseStmt(CurMethod->getBody()); in DiagnoseUnusedBackingIvarInAccessor()
DSemaExpr.cpp1894 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup() local
1895 bool isInstance = CurMethod && in DiagnoseEmptyLookup()
1896 CurMethod->isInstance() && in DiagnoseEmptyLookup()
1897 DC == CurMethod->getParent() && !isDefaultArgument; in DiagnoseEmptyLookup()
2432 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupInObjCMethod() local
2435 if (!CurMethod) in LookupInObjCMethod()
2447 bool IsClassMethod = CurMethod->isClassMethod(); in LookupInObjCMethod()
2459 IFace = CurMethod->getClassInterface(); in LookupInObjCMethod()
2502 ObjCMethodFamily MF = CurMethod->getMethodFamily(); in LookupInObjCMethod()
2504 !IvarBacksCurrentMethodAccessor(IFace, CurMethod, IV)) in LookupInObjCMethod()
[all …]
DSemaDecl.cpp780 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local
788 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()
802 if (!SS.isSet() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp1906 } else if (auto CurMethod = in EmitMessageSend() local
1908 auto Self = CurMethod->getSelfDecl(); in EmitMessageSend()