Lines Matching refs:ObjCInterfaceDecl
46 // ObjCInterfaceDecl
117 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(this);
126 for (ObjCInterfaceDecl::all_protocol_iterator
133 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass())
152 void ObjCInterfaceDecl::anchor() { }
159 ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass(
173 for (ObjCInterfaceDecl::all_protocol_iterator
182 void ObjCInterfaceDecl::mergeClassExtensionProtocolList(
229 void ObjCInterfaceDecl::allocateDefinitionData() {
239 void ObjCInterfaceDecl::startDefinition() {
251 ObjCCategoryDecl* ObjCInterfaceDecl::getFirstClassExtension() const {
268 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID,
269 ObjCInterfaceDecl *&clsDeclared) {
277 ObjCInterfaceDecl* ClassDecl = this;
296 /// lookupInheritedClass - This method returns ObjCInterfaceDecl * of the super
299 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass(
308 ObjCInterfaceDecl* ClassDecl = this;
319 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel,
326 const ObjCInterfaceDecl* ClassDecl = this;
337 for (ObjCInterfaceDecl::protocol_iterator I = ClassDecl->protocol_begin(),
366 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod(
474 if (ObjCInterfaceDecl *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) {
484 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface())
506 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface())
615 const ObjCInterfaceDecl *OID) {
672 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() {
673 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext()))
685 // ObjCInterfaceDecl
688 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C,
692 ObjCInterfaceDecl *PrevDecl,
695 ObjCInterfaceDecl *Result = new (C) ObjCInterfaceDecl(DC, atLoc, Id, ClassLoc,
701 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(ASTContext &C,
703 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCInterfaceDecl));
704 return new (Mem) ObjCInterfaceDecl(0, SourceLocation(), 0, SourceLocation(),
708 ObjCInterfaceDecl::
709 ObjCInterfaceDecl(DeclContext *DC, SourceLocation atLoc, IdentifierInfo *Id,
710 SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl,
724 void ObjCInterfaceDecl::LoadExternalDefinition() const {
728 const_cast<ObjCInterfaceDecl *>(this));
731 void ObjCInterfaceDecl::setExternallyCompleted() {
739 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const {
740 if (const ObjCInterfaceDecl *Def = getDefinition()) {
745 const_cast<ObjCInterfaceDecl*>(Def));
752 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) {
759 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() {
769 ObjCInterfaceDecl::ivar_iterator I = ivar_begin(), E = ivar_end();
809 ObjCInterfaceDecl::FindCategoryDeclaration(IdentifierInfo *CategoryId) const {
825 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const {
834 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const {
846 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto,
852 ObjCInterfaceDecl *IDecl = this;
854 for (ObjCInterfaceDecl::protocol_iterator
911 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) ||
916 ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(DC);
942 const ObjCInterfaceDecl *ObjCIvarDecl::getContainingInterface() const {
962 return cast<ObjCInterfaceDecl>(DC);
1075 ObjCInterfaceDecl *IDecl,
1121 ObjCInterfaceDecl *ClassInterface,
1140 if (const ObjCInterfaceDecl *ID = getClassInterface())
1154 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) {
1214 ObjCInterfaceDecl *ClassInterface,
1215 ObjCInterfaceDecl *SuperDecl,
1263 ObjCInterfaceDecl* AliasedClass) {