Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaCodeComplete.cpp3265 if (CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext)) in CodeCompleteOrdinaryName() local
3266 if (CurMethod->isInstance()) in CodeCompleteOrdinaryName()
3268 Qualifiers::fromCVRMask(CurMethod->getTypeQualifiers())); in CodeCompleteOrdinaryName()
5167 ObjCMethodDecl *CurMethod = S.getCurMethodDecl(); in AddSuperSendCompletion() local
5168 if (!CurMethod) in AddSuperSendCompletion()
5171 ObjCInterfaceDecl *Class = CurMethod->getClassInterface(); in AddSuperSendCompletion()
5179 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
5180 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()
5188 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
5189 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()
[all …]
DSemaExprObjC.cpp1097 if (ObjCMethodDecl *CurMethod = getCurMethodDecl()) in getMessageSendResultType() local
1098 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) in getMessageSendResultType()
1674 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr() local
1675 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()
1677 CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
1681 << CurMethod->getClassInterface()->getIdentifier(); in ActOnClassPropertyRefExpr()
1697 IFace = CurMethod->getClassInterface()->getSuperClass(); in ActOnClassPropertyRefExpr()
DSemaExpr.cpp1742 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext); in DiagnoseEmptyLookup() local
1743 bool isInstance = CurMethod && in DiagnoseEmptyLookup()
1744 CurMethod->isInstance() && in DiagnoseEmptyLookup()
1745 DC == CurMethod->getParent() && !isDefaultArgument; in DiagnoseEmptyLookup()
1760 if (CurMethod->isDependentContext()) in DiagnoseEmptyLookup()
1761 DepMethod = CurMethod; in DiagnoseEmptyLookup()
1762 else if (CurMethod->getTemplatedKind() == in DiagnoseEmptyLookup()
1764 DepMethod = cast<CXXMethodDecl>(CurMethod->getPrimaryTemplate()-> in DiagnoseEmptyLookup()
1768 CurMethod->getInstantiatedFromMemberFunction()); in DiagnoseEmptyLookup()
2197 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in LookupInObjCMethod() local
[all …]
DSemaDeclObjC.cpp3531 const ObjCMethodDecl *CurMethod = getCurMethodDecl(); in DiagnoseUnusedBackingIvarInAccessor() local
3532 if (!CurMethod) in DiagnoseUnusedBackingIvarInAccessor()
3535 const ObjCIvarDecl *IV = GetIvarBackingPropertyAccessor(CurMethod, PDecl); in DiagnoseUnusedBackingIvarInAccessor()
DSemaDecl.cpp581 ObjCMethodDecl *CurMethod = getCurMethodDecl(); in ClassifyName() local
590 LookupParsedName(Result, S, &SS, !CurMethod); in ClassifyName()
596 if (!SS.isSet() && CurMethod && !isResultTypeOrTemplate(Result, NextToken)) { in ClassifyName()