/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 109 maybeAdjustInterfaceForSubscriptingCheck(const ObjCInterfaceDecl *IFace, in maybeAdjustInterfaceForSubscriptingCheck() argument 112 assert(IFace && Receiver); in maybeAdjustInterfaceForSubscriptingCheck() 116 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 121 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 127 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 138 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 144 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 153 return IFace; in maybeAdjustInterfaceForSubscriptingCheck() 156 static bool canRewriteToSubscriptSyntax(const ObjCInterfaceDecl *&IFace, in canRewriteToSubscriptSyntax() argument 163 IFace = maybeAdjustInterfaceForSubscriptingCheck(IFace, Rec, Ctx); in canRewriteToSubscriptSyntax() [all …]
|
/external/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 3496 } else if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)){ in AddObjCProperties() local 3500 Cat = IFace->known_categories_begin(), in AddObjCProperties() 3501 CatEnd = IFace->known_categories_end(); in AddObjCProperties() 3509 I = IFace->all_referenced_protocol_begin(), in AddObjCProperties() 3510 E = IFace->all_referenced_protocol_end(); I != E; ++I) in AddObjCProperties() 3515 if (IFace->getSuperClass()) in AddObjCProperties() 3516 AddObjCProperties(IFace->getSuperClass(), AllowCategories, in AddObjCProperties() 4835 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); in AddObjCMethods() local 4836 bool isRootClass = IFace && !IFace->getSuperClass(); in AddObjCMethods() 4876 if (!IFace || !IFace->hasDefinition()) in AddObjCMethods() [all …]
|
D | SemaExprObjC.cpp | 1388 ObjCInterfaceDecl *IFace = IFaceT->getDecl(); in HandleExprPropertyRefExpr() local 1406 if (ObjCPropertyDecl *PD = IFace->FindPropertyDeclaration(Member)) { in HandleExprPropertyRefExpr() 1450 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel); in HandleExprPropertyRefExpr() 1458 Getter = IFace->lookupPrivateMethod(Sel); in HandleExprPropertyRefExpr() 1470 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel); in HandleExprPropertyRefExpr() 1479 Setter = IFace->lookupPrivateMethod(SetterSel); in HandleExprPropertyRefExpr() 1504 NULL, Validator, IFace, false, OPT)) { in HandleExprPropertyRefExpr() 1519 IFace->lookupInstanceVariable(Member, ClassDeclared)) { in HandleExprPropertyRefExpr() 1552 ObjCInterfaceDecl *IFace = getObjCInterfaceDecl(receiverNamePtr, in ActOnClassPropertyRefExpr() local 1556 if (IFace == 0) { in ActOnClassPropertyRefExpr() [all …]
|
D | SemaObjCProperty.cpp | 204 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty() local 207 if (ObjCInterfaceDecl *Super = IFace->getSuperClass()) { in ActOnProperty() 220 for (ObjCInterfaceDecl::protocol_iterator P = IFace->protocol_begin(), in ActOnProperty() 221 PEnd = IFace->protocol_end(); in ActOnProperty() 228 P = IFace->all_referenced_protocol_begin(), in ActOnProperty() 229 PEnd = IFace->all_referenced_protocol_end(); in ActOnProperty() 1549 Sema::IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace, in IvarBacksCurrentMethodAccessor() argument 1553 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor() 1560 for (ObjCContainerDecl::prop_iterator P = IFace->prop_begin(), in IvarBacksCurrentMethodAccessor() 1561 E = IFace->prop_end(); P != E; ++P) { in IvarBacksCurrentMethodAccessor()
|
D | SemaLookup.cpp | 2920 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Ctx)) { in LookupVisibleDecls() local 2923 Cat = IFace->visible_categories_begin(), in LookupVisibleDecls() 2924 CatEnd = IFace->visible_categories_end(); in LookupVisibleDecls() 2933 I = IFace->all_referenced_protocol_begin(), in LookupVisibleDecls() 2934 E = IFace->all_referenced_protocol_end(); I != E; ++I) { in LookupVisibleDecls() 2941 if (IFace->getSuperClass()) { in LookupVisibleDecls() 2943 LookupVisibleDecls(IFace->getSuperClass(), Result, QualifiedNameLookup, in LookupVisibleDecls() 2949 if (IFace->getImplementation()) { in LookupVisibleDecls() 2951 LookupVisibleDecls(IFace->getImplementation(), Result, in LookupVisibleDecls() 3016 if (ObjCInterfaceDecl *IFace = Method->getClassInterface()) { in LookupVisibleDecls() local [all …]
|
D | SemaExprMember.cpp | 1387 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr() local 1389 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr() 1394 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr() 1400 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); in LookupMemberExpr() 1404 Setter = IFace->lookupPrivateMethod(SetterSel, false); in LookupMemberExpr()
|
D | SemaType.cpp | 4576 const ObjCInterfaceType *IFace = 0; in RequireCompleteType() local 4590 else if ((IFace = T->getAs<ObjCInterfaceType>())) { in RequireCompleteType() 4592 if (IFace->getDecl()->isInvalidDecl()) in RequireCompleteType() 4596 if (IFace->getDecl()->hasExternalLexicalStorage()) { in RequireCompleteType() 4597 Context.getExternalSource()->CompleteType(IFace->getDecl()); in RequireCompleteType() 4598 if (!IFace->isIncompleteType()) in RequireCompleteType() 4648 if (IFace && !IFace->getDecl()->isInvalidDecl()) in RequireCompleteType() 4649 Diag(IFace->getDecl()->getLocation(), diag::note_forward_class); in RequireCompleteType()
|
D | SemaPseudoObject.cpp | 563 if (const ObjCInterfaceDecl *IFace = in findSetter() local 572 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration(AltMember)) in findSetter()
|
D | SemaExpr.cpp | 2007 ObjCInterfaceDecl *IFace = 0; in LookupInObjCMethod() local 2009 IFace = CurMethod->getClassInterface(); in LookupInObjCMethod() 2012 if (IFace && (IV = IFace->lookupInstanceVariable(II, ClassDeclared))) { in LookupInObjCMethod() 2029 !declaresSameEntity(ClassDeclared, IFace) && in LookupInObjCMethod() 2054 !IvarBacksCurrentMethodAccessor(IFace, CurMethod, IV)) in LookupInObjCMethod() 2078 if (ObjCInterfaceDecl *IFace = CurMethod->getClassInterface()) { in LookupInObjCMethod() local 2080 if (ObjCIvarDecl *IV = IFace->lookupInstanceVariable(II, ClassDeclared)) { in LookupInObjCMethod() 2082 declaresSameEntity(IFace, ClassDeclared)) in LookupInObjCMethod() 7617 if (ObjCInterfaceDecl *IFace = OPT->getInterfaceDecl()) in IsReadonlyProperty() local 7618 if (S.isPropertyReadonly(PDecl, IFace)) in IsReadonlyProperty()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 1560 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface() argument 1565 if (IFace) in setClassInterface() 1566 Ctx.setObjCImplementation(IFace, ImplD); in setClassInterface() 1570 if (ObjCCategoryDecl *CD = IFace->FindCategoryDeclaration(getIdentifier())) in setClassInterface() 1574 ClassInterface = IFace; in setClassInterface()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteObjC.cpp | 681 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { in HandleTopLevelSingleDecl() local 682 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl() 684 SourceLocation StartLoc = IFace->getLocStart(); in HandleTopLevelSingleDecl() 3706 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() local 3707 Name = IFace->getName(); in BuildUniqueMethodName()
|
D | RewriteModernObjC.cpp | 745 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { in HandleTopLevelSingleDecl() local 746 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl() 748 SourceLocation StartLoc = IFace->getLocStart(); in HandleTopLevelSingleDecl() 764 ObjCInterfacesSeen.push_back(IFace); in HandleTopLevelSingleDecl() 4621 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() local 4622 Name = IFace->getName(); in BuildUniqueMethodName()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 1658 void setClassInterface(ObjCInterfaceDecl *IFace);
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 4568 const ObjCInterfaceDecl *IFace = cast<ObjCInterfaceDecl>(D); in clang_getCursorDefinition() local 4570 if (const ObjCInterfaceDecl *Def = IFace->getDefinition()) in clang_getCursorDefinition() 4572 } else if (ObjCImplementationDecl *Impl = IFace->getImplementation()) in clang_getCursorDefinition()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2461 bool IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace,
|