/external/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 3384 } else if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)){ in AddObjCProperties() local 3387 for (ObjCCategoryDecl *Category = IFace->getCategoryList(); in AddObjCProperties() 3395 I = IFace->all_referenced_protocol_begin(), in AddObjCProperties() 3396 E = IFace->all_referenced_protocol_end(); I != E; ++I) in AddObjCProperties() 3401 if (IFace->getSuperClass()) in AddObjCProperties() 3402 AddObjCProperties(IFace->getSuperClass(), AllowCategories, in AddObjCProperties() 4733 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); 4734 if (!IFace || !IFace->hasDefinition()) 4738 for (ObjCInterfaceDecl::protocol_iterator I = IFace->protocol_begin(), 4739 E = IFace->protocol_end(); [all …]
|
D | SemaExprObjC.cpp | 1336 ObjCInterfaceDecl *IFace = IFaceT->getDecl(); in HandleExprPropertyRefExpr() local 1353 if (ObjCPropertyDecl *PD = IFace->FindPropertyDeclaration(Member)) { in HandleExprPropertyRefExpr() 1398 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel); in HandleExprPropertyRefExpr() 1406 Getter = IFace->lookupPrivateMethod(Sel); in HandleExprPropertyRefExpr() 1410 Getter = IFace->getCategoryInstanceMethod(Sel); in HandleExprPropertyRefExpr() 1421 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel); in HandleExprPropertyRefExpr() 1430 Setter = IFace->lookupPrivateMethod(SetterSel); in HandleExprPropertyRefExpr() 1434 Setter = IFace->getCategoryInstanceMethod(SetterSel); in HandleExprPropertyRefExpr() 1458 NULL, Validator, IFace, false, OPT)) { in HandleExprPropertyRefExpr() 1473 IFace->lookupInstanceVariable(Member, ClassDeclared)) { in HandleExprPropertyRefExpr() [all …]
|
D | SemaExprMember.cpp | 1330 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in LookupMemberExpr() local 1332 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr() 1337 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr() 1343 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); in LookupMemberExpr() 1347 Setter = IFace->lookupPrivateMethod(SetterSel, false); in LookupMemberExpr() 1351 Setter = IFace->getCategoryClassMethod(SetterSel); in LookupMemberExpr()
|
D | SemaLookup.cpp | 2948 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Ctx)) { in LookupVisibleDecls() local 2950 for (ObjCCategoryDecl *Category = IFace->getCategoryList(); in LookupVisibleDecls() 2959 I = IFace->all_referenced_protocol_begin(), in LookupVisibleDecls() 2960 E = IFace->all_referenced_protocol_end(); I != E; ++I) { in LookupVisibleDecls() 2967 if (IFace->getSuperClass()) { in LookupVisibleDecls() 2969 LookupVisibleDecls(IFace->getSuperClass(), Result, QualifiedNameLookup, in LookupVisibleDecls() 2975 if (IFace->getImplementation()) { in LookupVisibleDecls() 2977 LookupVisibleDecls(IFace->getImplementation(), Result, in LookupVisibleDecls() 3042 if (ObjCInterfaceDecl *IFace = Method->getClassInterface()) { in LookupVisibleDecls() local 3043 LookupVisibleDecls(IFace, IvarResult, /*QualifiedNameLookup=*/false, in LookupVisibleDecls()
|
D | SemaType.cpp | 4167 const ObjCInterfaceType *IFace = 0; in RequireCompleteType() local 4181 else if ((IFace = T->getAs<ObjCInterfaceType>())) { in RequireCompleteType() 4183 if (IFace->getDecl()->isInvalidDecl()) in RequireCompleteType() 4187 if (IFace->getDecl()->hasExternalLexicalStorage()) { in RequireCompleteType() 4188 Context.getExternalSource()->CompleteType(IFace->getDecl()); in RequireCompleteType() 4189 if (!IFace->isIncompleteType()) in RequireCompleteType() 4242 if (IFace && !IFace->getDecl()->isInvalidDecl()) in RequireCompleteType() 4243 Diag(IFace->getDecl()->getLocation(), diag::note_forward_class); in RequireCompleteType()
|
D | SemaExpr.cpp | 1821 ObjCInterfaceDecl *IFace = 0; in LookupInObjCMethod() local 1823 IFace = CurMethod->getClassInterface(); in LookupInObjCMethod() 1826 if (IFace && (IV = IFace->lookupInstanceVariable(II, ClassDeclared))) { in LookupInObjCMethod() 1843 !declaresSameEntity(ClassDeclared, IFace) && in LookupInObjCMethod() 1871 if (ObjCInterfaceDecl *IFace = CurMethod->getClassInterface()) { in LookupInObjCMethod() local 1873 if (ObjCIvarDecl *IV = IFace->lookupInstanceVariable(II, ClassDeclared)) { in LookupInObjCMethod() 1875 declaresSameEntity(IFace, ClassDeclared)) in LookupInObjCMethod() 7145 if (ObjCInterfaceDecl *IFace = OPT->getInterfaceDecl()) in IsReadonlyProperty() local 7146 if (S.isPropertyReadonly(PDecl, IFace)) in IsReadonlyProperty()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 174 IFace = NS.getASTContext().getObjContainingInterface( in rewriteToObjCSubscriptSyntax() local 176 if (!IFace) in rewriteToObjCSubscriptSyntax() 178 IdentifierInfo *II = IFace->getIdentifier(); in rewriteToObjCSubscriptSyntax()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 1154 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface() argument 1159 if (IFace) in setClassInterface() 1160 Ctx.setObjCImplementation(IFace, ImplD); in setClassInterface() 1164 if (ObjCCategoryDecl *CD = IFace->FindCategoryDeclaration(getIdentifier())) in setClassInterface() 1168 ClassInterface = IFace; in setClassInterface()
|
/external/clang/lib/Rewrite/ |
D | RewriteObjC.cpp | 675 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { in HandleTopLevelSingleDecl() local 676 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl() 678 SourceLocation StartLoc = IFace->getLocStart(); in HandleTopLevelSingleDecl() 3707 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() local 3708 Name = IFace->getName(); in BuildUniqueMethodName()
|
D | RewriteModernObjC.cpp | 687 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { in HandleTopLevelSingleDecl() local 688 if (!IFace->isThisDeclarationADefinition()) { in HandleTopLevelSingleDecl() 690 SourceLocation StartLoc = IFace->getLocStart(); in HandleTopLevelSingleDecl() 706 ObjCInterfacesSeen.push_back(IFace); in HandleTopLevelSingleDecl() 4144 ObjCInterfaceDecl *IFace = MD->getClassInterface(); in BuildUniqueMethodName() local 4145 Name = IFace->getName(); in BuildUniqueMethodName()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 1399 void setClassInterface(ObjCInterfaceDecl *IFace);
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 4390 ObjCInterfaceDecl *IFace = cast<ObjCInterfaceDecl>(D); in clang_getCursorDefinition() local 4392 if (ObjCInterfaceDecl *Def = IFace->getDefinition()) in clang_getCursorDefinition() 4394 } else if (ObjCImplementationDecl *Impl = IFace->getImplementation()) in clang_getCursorDefinition()
|