Lines Matching defs:ObjCInterfaceDecl

48 // ObjCInterfaceDecl
112 if (const ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(this)) {
138 ObjCInterfaceDecl *OSC = ID->getSuperClass();
208 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(this);
222 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass())
239 void ObjCInterfaceDecl::anchor() { }
246 ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass(
267 void ObjCInterfaceDecl::collectPropertiesToImplement(PropertyMap &PM,
280 bool ObjCInterfaceDecl::isArcWeakrefUnavailable() const {
281 const ObjCInterfaceDecl *Class = this;
290 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const {
291 const ObjCInterfaceDecl *Class = this;
300 void ObjCInterfaceDecl::mergeClassExtensionProtocolList(
343 const ObjCInterfaceDecl *
344 ObjCInterfaceDecl::findInterfaceWithDesignatedInitializers() const {
345 const ObjCInterfaceDecl *IFace = this;
356 static bool isIntroducingInitializers(const ObjCInterfaceDecl *D) {
376 bool ObjCInterfaceDecl::inheritsDesignatedInitializers() const {
409 void ObjCInterfaceDecl::getDesignatedInitializers(
417 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers();
431 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel,
439 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers();
462 void ObjCInterfaceDecl::allocateDefinitionData() {
472 void ObjCInterfaceDecl::startDefinition() {
482 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID,
483 ObjCInterfaceDecl *&clsDeclared) {
491 ObjCInterfaceDecl* ClassDecl = this;
510 /// lookupInheritedClass - This method returns ObjCInterfaceDecl * of the super
513 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass(
522 ObjCInterfaceDecl* ClassDecl = this;
532 ObjCInterfaceDecl::lookupNestedProtocol(IdentifierInfo *Name) {
536 ObjCInterfaceDecl *SuperClass = getSuperClass();
544 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel,
554 const ObjCInterfaceDecl* ClassDecl = this;
599 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod(
668 if (const ObjCInterfaceDecl *ID = getClassInterface())
735 if (ObjCInterfaceDecl *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) {
747 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface())
772 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface())
886 const ObjCInterfaceDecl *OID) {
943 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() {
944 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext()))
1003 if (const ObjCInterfaceDecl *
1004 Interface = dyn_cast<ObjCInterfaceDecl>(Container)) {
1011 if (const ObjCInterfaceDecl *Super = Interface->getSuperClass())
1034 const ObjCInterfaceDecl *ID = IMD->getClassInterface();
1047 const ObjCInterfaceDecl *ID = CatD->getClassInterface();
1126 // ObjCInterfaceDecl
1129 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C,
1133 ObjCInterfaceDecl *PrevDecl,
1136 ObjCInterfaceDecl *Result = new (C, DC)
1137 ObjCInterfaceDecl(C, DC, atLoc, Id, ClassLoc, PrevDecl, isInternal);
1143 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C,
1145 ObjCInterfaceDecl *Result = new (C, ID) ObjCInterfaceDecl(C, nullptr,
1154 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC,
1157 ObjCInterfaceDecl *PrevDecl,
1170 void ObjCInterfaceDecl::LoadExternalDefinition() const {
1174 const_cast<ObjCInterfaceDecl *>(this));
1177 void ObjCInterfaceDecl::setExternallyCompleted() {
1185 void ObjCInterfaceDecl::setHasDesignatedInitializers() {
1192 bool ObjCInterfaceDecl::hasDesignatedInitializers() const {
1202 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const {
1203 if (const ObjCInterfaceDecl *Def = getDefinition()) {
1208 const_cast<ObjCInterfaceDecl*>(Def));
1215 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) {
1242 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() {
1250 ObjCInterfaceDecl::ivar_iterator I = ivar_begin(), E = ivar_end();
1314 ObjCInterfaceDecl::FindCategoryDeclaration(IdentifierInfo *CategoryId) const {
1330 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const {
1340 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const {
1353 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto,
1359 ObjCInterfaceDecl *IDecl = this;
1415 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) ||
1420 ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(DC);
1440 const ObjCInterfaceDecl *ObjCIvarDecl::getContainingInterface() const {
1460 return cast<ObjCInterfaceDecl>(DC);
1617 ObjCInterfaceDecl *IDecl,
1662 ObjCInterfaceDecl *ClassInterface,
1681 if (const ObjCInterfaceDecl *ID = getClassInterface())
1695 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) {
1751 ObjCInterfaceDecl *ClassInterface,
1752 ObjCInterfaceDecl *SuperDecl,
1800 ObjCInterfaceDecl* AliasedClass) {