Home | History | Annotate | Download | only in AST

Lines Matching refs:ObjCInterfaceDecl

48 // ObjCInterfaceDecl
112 if (const ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(this)) {
139 ObjCInterfaceDecl *OSC = ID->getSuperClass();
209 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(this);
223 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass())
240 void ObjCInterfaceDecl::anchor() { }
247 ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass(
268 void ObjCInterfaceDecl::collectPropertiesToImplement(PropertyMap &PM,
281 bool ObjCInterfaceDecl::isArcWeakrefUnavailable() const {
282 const ObjCInterfaceDecl *Class = this;
291 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const {
292 const ObjCInterfaceDecl *Class = this;
301 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;
602 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod(
670 if (const ObjCInterfaceDecl *ID = getClassInterface())
737 if (ObjCInterfaceDecl *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) {
749 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface())
774 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface())
893 const ObjCInterfaceDecl *OID) {
950 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() {
951 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext()))
1017 if (const ObjCInterfaceDecl *
1018 Interface = dyn_cast<ObjCInterfaceDecl>(Container)) {
1025 if (const ObjCInterfaceDecl *Super = Interface->getSuperClass())
1048 const ObjCInterfaceDecl *ID = IMD->getClassInterface();
1061 const ObjCInterfaceDecl *ID = CatD->getClassInterface();
1140 // ObjCInterfaceDecl
1143 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C,
1147 ObjCInterfaceDecl *PrevDecl,
1150 ObjCInterfaceDecl *Result = new (C, DC)
1151 ObjCInterfaceDecl(C, DC, atLoc, Id, ClassLoc, PrevDecl, isInternal);
1157 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C,
1159 ObjCInterfaceDecl *Result = new (C, ID) ObjCInterfaceDecl(C, nullptr,
1168 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC,
1171 ObjCInterfaceDecl *PrevDecl,
1184 void ObjCInterfaceDecl::LoadExternalDefinition() const {
1188 const_cast<ObjCInterfaceDecl *>(this));
1191 void ObjCInterfaceDecl::setExternallyCompleted() {
1199 void ObjCInterfaceDecl::setHasDesignatedInitializers() {
1206 bool ObjCInterfaceDecl::hasDesignatedInitializers() const {
1217 ObjCInterfaceDecl::getObjCRuntimeNameAsString() const {
1226 if (ObjCInterfaceDecl *ID =
1233 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const {
1234 if (const ObjCInterfaceDecl *Def = getDefinition()) {
1239 const_cast<ObjCInterfaceDecl*>(Def));
1246 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) {
1273 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() {
1281 ObjCInterfaceDecl::ivar_iterator I = ivar_begin(), E = ivar_end();
1345 ObjCInterfaceDecl::FindCategoryDeclaration(IdentifierInfo *CategoryId) const {
1361 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const {
1371 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const {
1384 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto,
1390 ObjCInterfaceDecl *IDecl = this;
1446 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) ||
1451 ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(DC);
1471 const ObjCInterfaceDecl *ObjCIvarDecl::getContainingInterface() const {
1491 return cast<ObjCInterfaceDecl>(DC);
1656 ObjCInterfaceDecl *IDecl,
1701 ObjCInterfaceDecl *ClassInterface,
1720 if (const ObjCInterfaceDecl *ID = getClassInterface())
1734 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) {
1790 ObjCInterfaceDecl *ClassInterface,
1791 ObjCInterfaceDecl *SuperDecl,
1844 ObjCInterfaceDecl* AliasedClass) {