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();
167 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) {
225 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) {
249 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(this);
265 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass())
283 void ObjCInterfaceDecl::anchor() { }
285 ObjCTypeParamList *ObjCInterfaceDecl::getTypeParamList() const {
291 if (const ObjCInterfaceDecl *def = getDefinition())
305 void ObjCInterfaceDecl::setTypeParamList(ObjCTypeParamList *TPL) {
314 ObjCInterfaceDecl *ObjCInterfaceDecl::getSuperClass() const {
323 if (ObjCInterfaceDecl *superDecl = superType->getInterface()) {
324 if (ObjCInterfaceDecl *superDef = superDecl->getDefinition())
334 SourceLocation ObjCInterfaceDecl::getSuperClassLoc() const {
346 ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass(
370 void ObjCInterfaceDecl::collectPropertiesToImplement(PropertyMap &PM,
390 bool ObjCInterfaceDecl::isArcWeakrefUnavailable() const {
391 const ObjCInterfaceDecl *Class = this;
400 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const {
401 const ObjCInterfaceDecl *Class = this;
410 void ObjCInterfaceDecl::mergeClassExtensionProtocolList(
452 const ObjCInterfaceDecl *
453 ObjCInterfaceDecl::findInterfaceWithDesignatedInitializers() const {
454 const ObjCInterfaceDecl *IFace = this;
465 static bool isIntroducingInitializers(const ObjCInterfaceDecl *D) {
485 bool ObjCInterfaceDecl::inheritsDesignatedInitializers() const {
518 void ObjCInterfaceDecl::getDesignatedInitializers(
526 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers();
540 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel,
548 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers();
571 void ObjCInterfaceDecl::allocateDefinitionData() {
581 void ObjCInterfaceDecl::startDefinition() {
591 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID,
592 ObjCInterfaceDecl *&clsDeclared) {
600 ObjCInterfaceDecl* ClassDecl = this;
619 /// lookupInheritedClass - This method returns ObjCInterfaceDecl * of the super
622 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass(
631 ObjCInterfaceDecl* ClassDecl = this;
641 ObjCInterfaceDecl::lookupNestedProtocol(IdentifierInfo *Name) {
645 ObjCInterfaceDecl *SuperClass = getSuperClass();
653 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel,
663 const ObjCInterfaceDecl* ClassDecl = this;
711 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod(
779 if (const ObjCInterfaceDecl *ID = getClassInterface())
850 if (ObjCInterfaceDecl *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) {
862 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface())
887 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface())
1006 const ObjCInterfaceDecl *OID,
1051 const ObjCInterfaceDecl *OID) {
1071 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() {
1072 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext()))
1152 if (const ObjCInterfaceDecl *
1153 Interface = dyn_cast<ObjCInterfaceDecl>(Container)) {
1160 if (const ObjCInterfaceDecl *Super = Interface->getSuperClass())
1183 const ObjCInterfaceDecl *ID = IMD->getClassInterface();
1196 const ObjCInterfaceDecl *ID = CatD->getClassInterface();
1270 const ObjCInterfaceDecl *ClassDecl = nullptr;
1277 ClassDecl = dyn_cast<ObjCInterfaceDecl>(Container);
1381 // ObjCInterfaceDecl
1384 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C,
1389 ObjCInterfaceDecl *PrevDecl,
1392 ObjCInterfaceDecl *Result = new (C, DC)
1393 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl,
1400 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C,
1402 ObjCInterfaceDecl *Result = new (C, ID) ObjCInterfaceDecl(C, nullptr,
1412 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC,
1416 ObjCInterfaceDecl *PrevDecl,
1432 void ObjCInterfaceDecl::LoadExternalDefinition() const {
1436 const_cast<ObjCInterfaceDecl *>(this));
1439 void ObjCInterfaceDecl::setExternallyCompleted() {
1447 void ObjCInterfaceDecl::setHasDesignatedInitializers() {
1454 bool ObjCInterfaceDecl::hasDesignatedInitializers() const {
1465 ObjCInterfaceDecl::getObjCRuntimeNameAsString() const {
1474 if (ObjCInterfaceDecl *ID =
1481 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const {
1482 if (const ObjCInterfaceDecl *Def = getDefinition()) {
1487 const_cast<ObjCInterfaceDecl*>(Def));
1494 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) {
1521 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() {
1529 ObjCInterfaceDecl::ivar_iterator I = ivar_begin(), E = ivar_end();
1593 ObjCInterfaceDecl::FindCategoryDeclaration(IdentifierInfo *CategoryId) const {
1609 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const {
1619 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const {
1632 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto,
1638 ObjCInterfaceDecl *IDecl = this;
1694 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) ||
1699 ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(DC);
1719 const ObjCInterfaceDecl *ObjCIvarDecl::getContainingInterface() const {
1739 return cast<ObjCInterfaceDecl>(DC);
1909 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl,
1926 ObjCInterfaceDecl *IDecl,
1982 ObjCInterfaceDecl *ClassInterface,
2001 if (const ObjCInterfaceDecl *ID = getClassInterface())
2015 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) {
2090 ObjCInterfaceDecl *ClassInterface,
2091 ObjCInterfaceDecl *SuperDecl,
2144 ObjCInterfaceDecl* AliasedClass) {