Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCodeComplete.cpp3384 } 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 …]
DSemaExprObjC.cpp1336 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 …]
DSemaExprMember.cpp1330 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()
DSemaLookup.cpp2948 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()
DSemaType.cpp4167 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()
DSemaExpr.cpp1821 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/
DRewriteObjCFoundationAPI.cpp174 IFace = NS.getASTContext().getObjContainingInterface( in rewriteToObjCSubscriptSyntax() local
176 if (!IFace) in rewriteToObjCSubscriptSyntax()
178 IdentifierInfo *II = IFace->getIdentifier(); in rewriteToObjCSubscriptSyntax()
/external/clang/lib/AST/
DDeclObjC.cpp1154 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/
DRewriteObjC.cpp675 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()
DRewriteModernObjC.cpp687 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/
DDeclObjC.h1399 void setClassInterface(ObjCInterfaceDecl *IFace);
/external/clang/tools/libclang/
DCIndex.cpp4390 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()