Home
last modified time | relevance | path

Searched refs:IFace (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Index/
DAnalyzer.cpp128 ObjCInterfaceDecl *IFace = in Handle() local
135 if (ValidReference(*I, IFace)) in Handle()
145 bool ValidReference(ASTLocation ASTLoc, ObjCInterfaceDecl *IFace) { in ValidReference() argument
208 if (MsgD == IFace) in ValidReference()
220 if (IFace) { in ValidReference()
223 if (Cls == IFace) in ValidReference()
401 ObjCInterfaceDecl *IFace = D->getClassInterface(); in ValidMethod() local
402 assert(IFace); in ValidMethod()
406 if (MsgIFace && MsgIFace->isSuperClassOf(IFace)) in ValidMethod()
411 if (ReceiverIFace->isSuperClassOf(IFace)) in ValidMethod()
[all …]
/external/clang/lib/Sema/
DSemaExprObjC.cpp536 ObjCInterfaceDecl *IFace = IFaceT->getDecl(); in HandleExprPropertyRefExpr() local
546 if (IFace->isForwardDecl()) { in HandleExprPropertyRefExpr()
549 Diag(IFace->getLocation(), diag::note_forward_class); in HandleExprPropertyRefExpr()
553 if (ObjCPropertyDecl *PD = IFace->FindPropertyDeclaration(Member)) { in HandleExprPropertyRefExpr()
560 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel); in HandleExprPropertyRefExpr()
608 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel); in HandleExprPropertyRefExpr()
616 Getter = IFace->lookupPrivateMethod(Sel); in HandleExprPropertyRefExpr()
620 Getter = IFace->getCategoryInstanceMethod(Sel); in HandleExprPropertyRefExpr()
631 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel); in HandleExprPropertyRefExpr()
640 Setter = IFace->lookupPrivateMethod(SetterSel); in HandleExprPropertyRefExpr()
[all …]
DSemaCodeComplete.cpp3195 } else if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)){ in AddObjCProperties() local
3198 for (ObjCCategoryDecl *Category = IFace->getCategoryList(); in AddObjCProperties()
3206 I = IFace->all_referenced_protocol_begin(), in AddObjCProperties()
3207 E = IFace->all_referenced_protocol_end(); I != E; ++I) in AddObjCProperties()
3212 if (IFace->getSuperClass()) in AddObjCProperties()
3213 AddObjCProperties(IFace->getSuperClass(), AllowCategories, in AddObjCProperties()
4378 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); in AddObjCMethods() local
4379 if (!IFace) in AddObjCMethods()
4383 const ObjCList<ObjCProtocolDecl> &Protocols= IFace->getReferencedProtocols(); in AddObjCMethods()
4391 for (ObjCCategoryDecl *CatDecl = IFace->getCategoryList(); CatDecl; in AddObjCMethods()
[all …]
DSemaLookup.cpp2675 ObjCInterfaceDecl *IFace = I->getInterface(); in LookupVisibleDecls() local
2676 if (Result.isAcceptableDecl(IFace)) { in LookupVisibleDecls()
2677 Consumer.FoundDecl(IFace, Visited.checkHidden(IFace), InBaseClass); in LookupVisibleDecls()
2678 Visited.add(IFace); in LookupVisibleDecls()
2748 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Ctx)) { in LookupVisibleDecls() local
2750 for (ObjCCategoryDecl *Category = IFace->getCategoryList(); in LookupVisibleDecls()
2759 I = IFace->all_referenced_protocol_begin(), in LookupVisibleDecls()
2760 E = IFace->all_referenced_protocol_end(); I != E; ++I) { in LookupVisibleDecls()
2767 if (IFace->getSuperClass()) { in LookupVisibleDecls()
2769 LookupVisibleDecls(IFace->getSuperClass(), Result, QualifiedNameLookup, in LookupVisibleDecls()
[all …]
DSemaExprMember.cpp1261 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr() local
1263 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr()
1268 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr()
1274 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); in LookupMemberExpr()
1278 Setter = IFace->lookupPrivateMethod(SetterSel, false); in LookupMemberExpr()
1282 Setter = IFace->getCategoryClassMethod(SetterSel); in LookupMemberExpr()
DSemaExpr.cpp1810 ObjCInterfaceDecl *IFace = 0; in LookupInObjCMethod() local
1812 IFace = CurMethod->getClassInterface(); in LookupInObjCMethod()
1814 if (ObjCIvarDecl *IV = IFace->lookupInstanceVariable(II, ClassDeclared)) { in LookupInObjCMethod()
1831 ClassDeclared != IFace) in LookupInObjCMethod()
1857 ObjCInterfaceDecl *IFace = CurMethod->getClassInterface(); in LookupInObjCMethod() local
1859 if (ObjCIvarDecl *IV = IFace->lookupInstanceVariable(II, ClassDeclared)) { in LookupInObjCMethod()
1861 IFace == ClassDeclared) in LookupInObjCMethod()
6614 if (ObjCInterfaceDecl *IFace = OPT->getInterfaceDecl()) in IsReadonlyProperty() local
6615 if (S.isPropertyReadonly(PDecl, IFace)) in IsReadonlyProperty()
/external/clang/lib/AST/
DDeclObjC.cpp954 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface() argument
959 if (IFace) in setClassInterface()
960 Ctx.setObjCImplementation(IFace, ImplD); in setClassInterface()
964 if (ObjCCategoryDecl *CD = IFace->FindCategoryDeclaration(getIdentifier())) in setClassInterface()
968 ClassInterface = IFace; in setClassInterface()
/external/clang/include/clang/AST/
DDeclObjC.h1127 void setClassInterface(ObjCInterfaceDecl *IFace);
/external/clang/lib/Rewrite/
DRewriteObjC.cpp4522 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() local
4523 Name = IFace->getName(); in BuildUniqueMethodName()